.wc-video-slider-section {
  margin-top: 30px;
}

.wc-video-section-title {
  font-size: 22px;
  margin-bottom: 12px;
  color: #333;
  border-bottom: 2px solid #AC6528;
  display: inline-block;
  padding-bottom: 5px;
}

.wc-video-slider-container {
  overflow: hidden;
  padding: 10px 0;
  position: relative;
}

.wc-video-slider {
  display: flex;
  gap: 15px;
  overflow: hidden;
  max-width: 100%;
  flex-wrap: nowrap;
}

.wc-video-slide {
  min-width: 220px;
  max-width: 220px;
  border: 1.5px solid #AC6528;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: #fff;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

.wc-video-slide:hover {
  box-shadow: 0 0 8px rgba(172, 101, 40, 0.7);
}

.wc-video-slide video {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* علامة البلاي */
.wc-video-slide .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: #D2B48C;
  clip-path: polygon(30% 20%, 70% 50%, 30% 80%);
  opacity: 0.8;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.wc-video-slide:hover .play-icon {
  opacity: 1;
}

.wc-video-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  transition: 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px;
}

.wc-video-slide:hover .wc-video-overlay {
  opacity: 1;
}

.wc-video-overlay::before {
  content: 'اضغط للتشغيل';
  font-size: 16px;
  color: #fff;
  background: rgba(0,0,0,0.5);
  padding: 6px 12px;
  border-radius: 4px;
}

.wc-video-title {
  text-align: center;
  padding: 5px 0;
  font-size: 14px;
  color: #333;
}

/* الأسهم */
.wc-video-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #AC6528;
  color: #fff;
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  font-size: 20px;
  transition: 0.2s ease;
}

.wc-video-slider-arrow.left {
  left: 0;
}

.wc-video-slider-arrow.right {
  right: 0;
}

.wc-video-slider-arrow:hover {
  background: #8B4513;
}

/* فيديو thumbnail على الموبايل */
@media (max-width: 575.98px) {
  .wc-video-slider {
    gap: 10px;
  }

  .wc-video-slide {
    min-width: 120px;
    max-width: 120px;
    height: auto;
    border-radius: 6px;
  }

  .wc-video-slide video {
    width: 100%;
    height: 100px;
    object-fit: cover;
  }

  .wc-video-slider-arrow {
    top: 35%;
    width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .wc-video-title {
    font-size: 13px;
  }
}


@media (min-width: 768px) and (max-width: 991.98px) {
  .wc-video-slide {
    min-width: 31%;
    max-width: 31%;
  }
}

@media (min-width: 992px) {
  .wc-video-slide {
    min-width: 23%;
    max-width: 23%;
  }
}
