/* Products Banner Section - Professional Horizontal Scroll */
.products-banner {
  padding: 8rem 0;
  background-color: var(--color-brown-light);
  position: relative;
  overflow: hidden;
}

.products-banner__title {
  text-align: center;
  color: #fff;
  font-size: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 10;
}

.products-banner__description {
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 2rem;
}

.products-banner__description--bottom {
  margin-top: 3rem;
  margin-bottom: 0;
  max-width: 800px;
  font-style: italic;
  border-top: 1px solid rgba(207, 188, 156, 0.3);
  padding-top: 2rem;
}

.products-banner__link {
  color: #cfbc9c;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.products-banner__link:hover {
  color: #fff;
  border-bottom-color: #cfbc9c;
  text-shadow: 0 0 8px rgba(207, 188, 156, 0.5);
}

.products-banner__controls {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  z-index: 10;
  position: relative;
}

.products-banner__speed-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(207, 188, 156, 0.5);
  color: #cfbc9c;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.products-banner__speed-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(207, 188, 156, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.products-banner__speed-btn:hover::before {
  left: 100%;
}

.products-banner__speed-btn:hover {
  background: rgba(207, 188, 156, 0.2);
  border-color: #cfbc9c;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(207, 188, 156, 0.3);
}

.products-banner__speed-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(207, 188, 156, 0.4);
}

.products-banner__speed-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.products-banner__speed-btn:hover svg {
  transform: scale(1.1);
}

.products-banner__speed-btn.speed-fast {
  background: rgba(207, 188, 156, 0.3);
  border-color: #cfbc9c;
  color: #fff;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 4px 15px rgba(207, 188, 156, 0.3);
  }
  50% {
    box-shadow: 0 8px 30px rgba(207, 188, 156, 0.6);
  }
}

.products-banner__speed-btn.speed-fast .products-banner__speed-text::after {
  content: " (2x)";
  font-size: 0.8em;
  opacity: 0.8;
}

.products-banner__speed-btn.speed-super {
  background: linear-gradient(
    45deg,
    rgba(207, 188, 156, 0.4),
    rgba(255, 140, 0, 0.3)
  );
  border-color: #ff8c00;
  color: #fff;
  animation: superPulse 1.5s infinite;
  box-shadow: 0 0 15px rgba(255, 140, 0, 0.4);
}

@keyframes superPulse {
  0%,
  100% {
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.4),
      0 4px 15px rgba(207, 188, 156, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 25px rgba(255, 140, 0, 0.6),
      0 8px 30px rgba(207, 188, 156, 0.5);
    transform: scale(1.02);
  }
}

.products-banner__speed-btn.speed-super .products-banner__speed-text::after {
  content: " (3x)";
  font-size: 0.8em;
  opacity: 0.9;
  color: #ff8c00;
  text-shadow: 0 0 8px rgba(255, 140, 0, 0.4);
}

.products-banner__container {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 4rem;
  mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
  -webkit-mask: linear-gradient(
    90deg,
    transparent,
    white 10%,
    white 90%,
    transparent
  );
}

.products-banner__track {
  display: flex;
  gap: 2.5rem;
  animation: infiniteScroll 60s linear infinite;
  width: max-content;
  padding: 0 2rem;
  transition: animation-duration 0.3s ease;
}

@keyframes infiniteScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.333%);
  }
}

.products-banner__container:hover .products-banner__track {
  animation-play-state: paused;
}

/* Product Banner Cards */
.product-banner-card {
  flex-shrink: 0;
  width: 320px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  text-decoration: none;
  position: relative;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-banner-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 1);
}

.product-banner-card__content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-banner-card__image-container {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.product-banner-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-banner-card:hover .product-banner-card__image {
  transform: scale(1.1);
}

.product-banner-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(139, 90, 60, 0.2) 0%,
    rgba(139, 90, 60, 0.6) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.product-banner-card:hover .product-banner-card__overlay {
  opacity: 1;
}

/* Verberg overlay bij placeholder producten */
.product-banner-card:has(.product-banner-card__placeholder)
  .product-banner-card__overlay {
  display: none !important;
}

/* Fallback: verhoog z-index van placeholder nog meer */
.product-banner-card__placeholder {
  z-index: 20 !important;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
  border: 2px solid #cfbc9c !important;
}

.product-banner-card__placeholder * {
  z-index: 21 !important;
}

/* Force styling - super specifiek */
.products-banner .product-banner-card .product-banner-card__placeholder {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
  border: 2px solid #cfbc9c !important;
  color: #333 !important;
}

.products-banner .product-banner-card .product-banner-card__placeholder h4 {
  color: #2c3e50 !important;
  font-weight: 700 !important;
  font-size: 1.2rem !important;
}

.products-banner .product-banner-card .product-banner-card__placeholder p {
  color: #34495e !important;
  font-weight: 500 !important;
  font-size: 1rem !important;
}

.product-banner-card__arrow {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b5a3c;
  transform: scale(0);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-banner-card:hover .product-banner-card__arrow {
  transform: scale(1);
}

.product-banner-card__arrow svg {
  width: 24px;
  height: 24px;
}

.product-banner-card__info {
  padding: 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(248, 248, 248, 0.95) 100%
  );
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-banner-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.product-banner-card__price {
  color: #8b5a3c;
  font-size: 1.2rem;
  font-weight: 700;
}

/* Responsive Design */
@media (max-width: 768px) {
  .products-banner {
    padding: 4rem 0;
  }

  .products-banner__title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    padding: 0 1rem;
  }

  .products-banner__description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
  }

  .products-banner__description--bottom {
    margin-top: 2rem;
    padding: 1.5rem 1rem 0;
    font-size: 0.95rem;
  }

  .products-banner__controls {
    margin-bottom: 1.5rem;
  }

  .products-banner__speed-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }

  .products-banner__speed-btn svg {
    width: 16px;
    height: 16px;
  }

  .products-banner__track {
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .product-banner-card {
    width: 280px;
  }

  .product-banner-card__image-container {
    height: 200px;
  }

  .product-banner-card__info {
    padding: 1.25rem;
  }

  .product-banner-card__title {
    font-size: 1rem;
  }

  .product-banner-card__price {
    font-size: 1.1rem;
  }

  /* Responsive placeholder styling */
  .product-banner-card__placeholder-content {
    padding: 1rem;
    max-width: 180px;
  }

  .product-banner-card__placeholder-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 0.75rem;
  }

  .product-banner-card__placeholder h4 {
    font-size: 0.9rem;
  }

  .product-banner-card__placeholder p {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .products-banner__title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }

  .product-banner-card {
    width: 250px;
  }

  .product-banner-card__image-container {
    height: 180px;
  }

  .product-banner-card__info {
    padding: 1rem;
  }

  .product-banner-card__arrow {
    width: 50px;
    height: 50px;
  }

  .product-banner-card__arrow svg {
    width: 20px;
    height: 20px;
  }

  /* Mobiel placeholder styling */
  .product-banner-card__placeholder-content {
    padding: 0.75rem;
    max-width: 160px;
  }

  .product-banner-card__placeholder-icon {
    width: 32px;
    height: 32px;
    margin: 0 auto 0.5rem;
  }

  .product-banner-card__placeholder h4 {
    font-size: 0.8rem;
    margin: 0 0 0.25rem 0;
  }

  .product-banner-card__placeholder p {
    font-size: 0.7rem;
    margin: 0 0 0.5rem 0;
  }

  .product-banner-card__placeholder-link {
    font-size: 0.7rem;
  }
}

/* P4 specific styling */
.product-banner-card.p4 .product-banner-card__image-blur {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(2px);
  z-index: 1;
}

/* Placeholder styling for products without images */
.product-banner-card__placeholder {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
  border-radius: 12px;
  padding: 1.5rem !important;
  text-align: center !important;
  z-index: 10 !important;
}

.product-banner-card__placeholder-content {
  text-align: center !important;
  padding: 0 !important;
  max-width: 200px !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 11 !important;
}

.product-banner-card__placeholder-icon {
  width: 48px !important;
  height: 48px !important;
  margin: 0 auto 1rem !important;
  color: #6c757d !important;
  z-index: 12 !important;
}

.product-banner-card__placeholder-icon svg {
  width: 100%;
  height: 100%;
}

.product-banner-card__placeholder h4 {
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  color: #2c3e50 !important;
  margin: 0 0 1rem 0 !important;
  font-family: var(--font-heading) !important;
  line-height: 1.3 !important;
  z-index: 12 !important;
}

.product-banner-card__placeholder p {
  font-size: 1rem !important;
  color: #34495e !important;
  line-height: 1.4 !important;
  margin: 0 0 1.25rem 0 !important;
  font-weight: 500 !important;
  z-index: 12 !important;
}

.product-banner-card__placeholder-link {
  color: #cfbc9c !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  border-bottom: 1px solid transparent !important;
  transition: all 0.3s ease !important;
  padding: 0.5rem 1rem !important;
  border: 2px solid #cfbc9c !important;
  border-radius: 6px !important;
  background: rgba(207, 188, 156, 0.1) !important;
  display: inline-block !important;
  margin-top: 0.5rem !important;
  z-index: 12 !important;
  cursor: pointer !important;
}

.product-banner-card__placeholder-link:hover {
  color: #ffffff;
  background: #cfbc9c;
  border-color: #cfbc9c;
  transform: translateY(-2px);
}
