#video-banner {
  height: 500px;
  overflow: hidden;
  margin-block: 70px;
  position: relative;
  margin-top:clamp(3.25rem, 0.8732rem + 10.1408vw, 10rem);
  border: 0;
  outline: 0;
  box-shadow: none;
}

.video-parent {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  outline: 0;
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 🔹 Overlay */
.video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.6s ease;
  opacity: var(--video-overlay-opacity, 0.45);
  background: var(--video-overlay-color);
}

.video-overlay.hidden {
  opacity: 0;
}

/* زر التشغيل */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(82px, 9vw, 132px);
  height: clamp(82px, 9vw, 132px);
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 2;
  display: grid;
  place-items: center;
  color: var(--primary-color);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  outline: 0;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
  animation: video-play-pulse 2.6s ease-in-out infinite;
}

.play-btn::before {
  content: "";
  position: absolute;
  inset: -9px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: inherit;
  opacity: 0.65;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.play-btn svg {
  width: 80%;
  height: 80%;
  transform: translateX(4%);
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.28));
  transition: transform 0.3s ease, color 0.3s ease;
}

.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.06);
  background: rgba(255, 255, 255, 0.18);
}

.play-btn:hover::before {
  opacity: 1;
  transform: scale(1.08);
}

.play-btn:hover svg {
  transform: translateX(4%) scale(1.08);
}

.play-btn:focus-visible {
  box-shadow: 0 0 0 3px var(--primary-color), 0 18px 50px rgba(0, 0, 0, 0.22);
}

@keyframes video-play-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    transform: translate(-50%, -50%) scale(1.035);
  }
}

/* النص والزر */
.video-content {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: min(88%, 760px);
  text-align: center;
  color: var(--white-color);
  opacity: 0;
  padding: clamp(18px, 4vw, 48px);
  transform: translate(-50%, -50%) translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.video-content.show {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0);
}

.video-content h2 {
  font-size: clamp(24px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.25;
  max-width: 720px;
  margin: 0 auto 1.25rem;
  color: var(--white-color);
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.36);
}

#video-banner .btn-primary { 
  background: var(--primary-color);
  color: var(--white-color);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  border: 0;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cart-view .btn-primary {
  border-radius: 4px !important;
}

#video-banner .btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

.hidden {
  display: none !important;
}

@media (max-width: 768px) {
  #video-banner {
    height: clamp(280px, 62vw, 420px);
    margin-block: 45px;
  }

  .play-btn {
    width: clamp(76px, 22vw, 100px) !important;
    height: clamp(76px, 22vw, 100px) !important;
  }

  .play-btn svg {
    width: 42% !important;
    height: 42% !important;
  }

  .video-content h2 {
    font-size: clamp(22px, 7vw, 32px);
    line-height: 1.35;
  }

  .video-content {
    width: 92%;
    padding: 18px;
  }
}

@media (min-width: 769px) and (max-width: 1199px) {
  #video-banner {
    height: 430px;
  }
}
