.webshop-header {
  height: 80px; /* of wat je wil */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.custom-bottom-shadow {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.offcanvas-header {padding-right: 2rem; border-bottom: 1px solid lightgrey;}

.offcanvas-header .btn-close {
  font-size: 1.1rem;
  padding: 0.75rem;
  border-radius: 0.3rem;
  opacity: 0.8;
}

.offcanvas-header .btn-close:hover {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.05); /* Subtiele hover feedback */
  cursor: pointer;
}


#cart-button-container {
  cursor: pointer;
  /* eventueel meer styling zoals margin, padding */
}

  /* The Close Button */
.close-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 40px;
  line-height: 1;
  padding-bottom: 6px;
  text-decoration: none;
  color: gray;
  border: 1px solid lightgray;
  border-radius: 4px;
  transition: all 0.2s ease-in-out;
}

.close-button:hover,
.close-button:focus {
  color: black;
  border-color: black;
  outline: none;
}

.grid-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 0 auto;
}

.product {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 4px;
  border: 1px solid #ccc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  background-color: white;
  flex-grow: 1;
  padding: 0;
}

.product img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px 4px 0 0;
  margin: 0;
  padding: 0;
}

.product .content {
  padding: .5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

#product-detail img {
  max-height: 400px;
  object-fit: contain;
}

#product-detail .carousel {
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
}

a > img {
  cursor: pointer !important;
}

a > img:hover {
  transform: scale(1.02);
  transition: transform 0.2s ease;
}

.right-column h2.long-title {
  font-size: 1.5rem;
  line-height: 1.3;
}

.tekstblok {padding: 2px;}

.tekstblok h3 {text-align: center;padding: 0;}

.author, .prijsinfo {font-size: 20px;font-style: italic;}

.product .prijs {
  color: #666;
  font-size: 18px;
}

.tekstblok p {text-align: left;padding: 0;  margin-bottom: 0;}

.tekst-korting {
  margin-top: 4px;
  font-weight: 500;
  color: #007a33!important;
}

.image-wrapper {
  position: relative;
  display: inline-block;
}

.corner-badge, .nieuwbtn {
  position: absolute;
  bottom: -2px;
  right: 10px;
  background-color: #fff;
  color: #891637;
  padding: 4px 12px;
  transform: rotate(-11deg);
  font-size: 0.75rem;
  border-radius: 4px;
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Badge container vlak boven de knoppen in product cards */
.badge-container {
  margin-bottom: 0.5rem;
  align-self: flex-start;
}

.badge {
  display: inline-block;
  background-color: #e60000;
  color: white;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.85rem;
  user-select: none;
}

.arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

/* Draai de pijl wanneer aria-expanded op true staat */
a[aria-expanded="true"] .arrow {
  transform: rotate(180deg);
}

.knoppen {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
}

.knoppen button {
  flex: 1 1 48%;
  min-width: 110px;
}

.shipping-box {
  padding: 1rem;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
}

.shipping-note .btn-link {
  text-decoration: none;
  color: #0ac3e8;
}

.shipping-note .btn-link:hover {
  text-decoration: none;
  color: #087388;
}

.chevron {
  display: inline-block;
  transition: transform 0.3s ease;
  vertical-align: middle;
}

button[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

@media screen and (min-width: 992px) {
  .grid-row {grid-template-columns: repeat(3, 1fr);}
}

.toi {
  position: absolute;
  align-self: center;
  right: 0px;
  margin: 0px;
  padding: 0 10px;
  width: 52%;
  max-height: 100%;
  text-align: left;
  font-style: italic;
  overflow: hidden;
  z-index: 0;
}

.toi2 {
  position: absolute;
  align-self: center;
  right: 0px;
  margin: 0px;
  padding: 0 5px;
  width: 60%;
  max-height: 100%;
  text-align: left;
  font-style: italic;
  overflow: hidden;
  z-index: 0;
}

.toi p, .toi2 p {padding: 8px;align-self: center;}

.caption {
  position: absolute;
  bottom: 4px;
  left: 10px;
  color: white;
  text-shadow: -1px 0 #404040, 0 1px #404040, 1px 0 #404040, 0 -1px #404040;
  font-size: 20px;
  text-align: left;
}

.tkw { /* tekst kleur wit */
  color: white;
  font-weight: 400;
  font-family: 'Georgia', serif;
  font-style: italic;
}

.product-wrapper {
  max-width: 1060px;
  margin: 0 auto;
}

.product-detail-row {
  display: flex;
  gap: 2rem; /* ruimte tussen de kolommen */
}

.left-column, .right-column {
  flex: 1 1 48%;
}

.left-column {
  display: flex;
  flex-direction: column;
}

.carousel {
  margin-bottom: 1rem;
}

.carousel img{
  border-radius: 4px;
  border: 1px solid lightgrey;
  cursor: pointer; 
}

.thumbnail-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.thumbnail-row img {
  height: 80px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.thumbnail-row img:hover {
  border-color: #006666;
}

.right-column h2 {
  margin-top: 0;
  font-size: 1.8rem;
}

.right-column p {
  margin-bottom: 1rem;
}

.buttons {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}
/*
.carousel.no-pointer .carousel-inner img {
  cursor: default;
}
*/
.carousel-inner img {
  cursor: default;
}


/* Responsief */
@media (max-width: 768px) {
  .product-detail-row {
    flex-direction: column;
  }
}

.thumbnail-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
}

.thumb-box {
  width: 100%;
  aspect-ratio: 3 / 2; /* Breder dan hoog */
  overflow: hidden;
  background-color: #f0f0f0;
  border: 2px solid transparent;
  cursor: pointer;
}

.thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Zorgt dat de afbeelding het vakje goed vult zonder vervorming */
  display: block;
}

.thumb-box.empty {
  background-color: transparent;
  cursor: default;
}

.xxextra-text {padding-bottom: 10px;border-bottom: 1px solid lightgrey;}

.avgm {
  color: #007bff;
  cursor: pointer;
  text-decoration: underline;
}

.avgm:hover {
  color: #0056b3;
  text-decoration: none;
}

.caption-tr {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.carousel-item .carousel-caption .caption-tr {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 0.9rem;
  box-sizing: border-box;
}

/* Optioneel hover effect */
.imagecontainer:hover .caption-tr {
  background: rgba(0,0,0,0.85);
  transition: background 0.3s;
}

/* Klasse voor avgm span */
.avgm {
  color: #ffcc00;
  text-decoration: underline;
  cursor: pointer;
}



.edition-selector {
  margin-top: 1rem;
  padding: 0.5rem;
  font-size: 1rem;
  max-width: 300px;
}

.edition-info {
  margin-top: 1rem;
}

.edition-info h4 {
  margin-top: 0;
  font-size: 1.2rem;
}

.product-mededeling {
  font-size: 1.2rem;
  color: #891637;
  font-style: italic;
  margin-top: 0.5rem;
}

.right-column {
  padding: .5rem 0;
  overflow-x: hidden;
  box-sizing: border-box;
}

.bundle-item {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.bundle-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

.bundle-item {
  flex: 1 1 47%;
  box-sizing: border-box;
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 0.5rem;
}

#detail-content .card {
  height: 100%;
}

#detail-content .card-img-top {
  object-fit: cover;
  max-height: 300px;
}

#detail-content .card:hover {
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

#detail-content .card-title {
  font-size: 1.5rem;
  font-weight: 400;
  color: #111;
}

#detail-content .card-subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: #222;
}

#detail-content .card-auteur {
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
  color: #222;
}

#detail-content .card-text {
  color: #555;
}

#detail-content .btn-success {
  font-weight: 600;
  transition: background-color 0.2s ease;
}

#detail-content .btn-success:hover {
  background-color: #218838;
  border-color: #1e7e34;
}

.xxxcard-body {
  display: flex;
  flex-direction: column;
}

.xxxcard-body > .mt-auto {
  margin-top: auto;
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-body .mt-auto {
  margin-top: auto;
}

.afhaalinfo {
  font-style: italic;
  background-color: rgb(240, 247, 240);
}

@media (max-width: 1050px) {
 .toi {width: 54%;font-size: 1.6vw;}
 .toi2 {font-size: 1.6vw;}
}

@media screen and (max-width: 750px) and (min-width: 500px), (min-width: 1050px) {
  .toi, .toi2{font-size: 16px;}
}

/* Mobiel: thumbnails verbergen */
@media (max-width: 770px) {
  .xxthumbnail-row {
    display: none;
  }
  .toi {font-size: 3.5vw;}
  .toi2 {font-size: 2.5vw;}
}

@media (max-width: 500px) {
 .toi, .toi2 {font-size: 3.1vw;}
 .caption-tr {font-size: 80%;}
}

/* Verberg thumbnails alleen onder 383px breedte */
@media (max-width: 399px) {
  .thumbnail-row {
    display: none;
  }
}
