/* ============================================
   FAVORIETEN / WISHLIST - MODERNE LAYOUT
   ============================================ */

/* Import Kanit font */
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@400;600;700&display=swap');

/* Container */
.wishlist-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: 'Kanit', sans-serif;
}

.wishlist-container h1 {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #1a2332;
  font-family: 'Kanit', sans-serif;
}

.wishlist-container hr {
  width: 30px;
  border: none;
  border-top: 6px solid #00a651;
  margin: 0 0 40px 0;
}

/* Empty state */
.wishlist-empty {
  text-align: center;
  padding: 60px 20px;
  color: #666;
  font-size: 16px;
  font-family: 'Kanit', sans-serif;
}

/* Wishlist Items Container */
.wishlist-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Single Wishlist Item */
.wishlist-item-wrapper {
  background: white;

  overflow: hidden;
  transition: box-shadow 0.2s;
  margin-bottom: 20px;
}

.wishlist-item-wrapper:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.wishlist-item-inner {
  display: grid;
  grid-template-columns: 200px 1fr 300px;
  gap: 40px;
  padding: 30px;
  align-items: flex-start;
}

/* Image Section */
.wishlist-image-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.wishlist-image {
  width: 200px;
  height: 200px;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wishlist-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s;
}

.wishlist-image a:hover img {
  transform: scale(1.05);
}

.wishlist-remove {
  text-align: left;
}

.remove-item-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #666;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
  cursor: pointer;
  font-family: 'Kanit', sans-serif;
}

.remove-item-link:hover {
  color: #d32f2f;
}

.remove-item-link i {
  font-size: 16px;
}

/* Details Section - Left aligned */
.wishlist-details {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 5px;
}

.wishlist-details > a {
  text-decoration: none;
  margin-bottom: 0;
}

.wishlist-quantity {
  font-size: 24px;
  font-weight: 700;
  color: #1a2332;
  margin-right: 15px;
}

.wishlist-details h4 {
  font-size: 24px;
  font-weight: 700;
  color: #1a2332;
  margin: 0;
  line-height: 1.3;
  transition: color 0.2s;
  text-transform: uppercase;
  font-family: 'Kanit', sans-serif;
}

.wishlist-details a:hover h4 {
  color: #00a651;
}

.part-descr {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-top: 10px;
  font-family: 'Kanit', sans-serif;
}

.wishlist-pricing-wrapper {
  display: none; /* Verberg pricing in details column */
}

/* Pricing Section - Right Column */
.wishlist-price-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: right;
  padding-top: 5px;
}

.price-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  color: #666;
  gap: 40px;
  font-family: 'Kanit', sans-serif;
}

.price-row.bold {
  font-weight: 700;
  font-size: 18px;
  color: #1a2332;
  padding-top: 8px;
  margin-top: 5px;
}

.price-row.bold:first-child {
  padding-top: 0;
  margin-top: 0;
}

/* ✅ VERWIJDER border voor laatste bold row (PRIJS INCL. BTW) */
.price-row.bold:last-child {
  border-top: none !important;
  padding-top: 8px;
  margin-top: 5px;
}

.price-label {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.3px;
  font-weight: 600;
  text-align: left;
  color: #666;
  white-space: nowrap;
  font-family: 'Kanit', sans-serif;
}

.price-row.bold .price-label {
  font-size: 14px;
  font-weight: 700;
  color: #1a2332;
}

.price-value {
  font-weight: 700;
  white-space: nowrap;
  font-size: 18px;
  color: #1a2332;
  text-align: right;
  font-family: 'Kanit', sans-serif;
}

.price-row.bold .price-value {
  font-size: 20px;
}

/* Add to Cart Button - Below prices */
.wishlist-add-cart-wrapper {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.wishlist-add-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #008b3b;
  color: white;
  padding: 12px 30px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
  letter-spacing: 0.5px;
  width: auto;
  font-family: 'Kanit', sans-serif;
}

.wishlist-add-cart:hover {
  background: #008b44;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,166,81,0.3);
}

/* Quantity indicator */
.wishlist-quantity {
  font-size: 16px;
  font-weight: 700;
  color: #1a2332;
  margin-right: 15px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .wishlist-item-inner {
    grid-template-columns: 150px 1fr;
    gap: 20px;
  }
  
  .wishlist-add-cart-wrapper {
    grid-column: 1 / -1;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
  }
  
  .wishlist-add-cart {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .wishlist-item-inner {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .wishlist-image-wrapper {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 15px;
    align-items: center;
  }
  
  .wishlist-image {
    width: 120px;
    height: 120px;
  }
  
  .wishlist-remove {
    text-align: left;
  }
  
  .wishlist-details h4 {
    font-size: 16px;
  }
  
  .price-wrapper {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 6px;
  }
}

@media (max-width: 480px) {
  .wishlist-container {
    padding: 20px 15px;
  }
  
  .wishlist-container h1 {
    font-size: 24px;
  }
  
  .wishlist-item-inner {
    padding: 15px;
  }
  
  .price-row {
    font-size: 13px;
  }
  
  .price-row.bold {
    font-size: 15px;
  }
}

/* Hide YITH default wishlist */
#yith-raw {
  display: none !important;
}

/* Loading state */
.wishlist-loading {
  text-align: center;
  padding: 40px;
  color: #999;
}

.wishlist-loading::after {
  content: '...';
  animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
  0%, 20% { content: '.'; }
  40% { content: '..'; }
  60%, 100% { content: '...'; }
}
