.slider.bg-navy-blue {
  background-color: var(--primary-color);
  color: white;
  /* padding: 2rem 0; */
}
.swiper {
  border-radius: 1rem;
  /* var(--border-radius); */
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.swiper-slide img {
  border-radius: 1rem;
  /* var(--border-radius); */
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-color);
  background-color: var(--card-bg);
  border-radius: 1rem;
  width: 40px;
  height: 40px;
  box-shadow: var(--box-shadow);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1.2rem;
}
.fabric-box,
.colors-box {
  border-radius: 1rem;
  /* var(--border-radius); */
  margin: 0.5rem;
  box-shadow: var(--box-shadow);
}

@keyframes l1 {
  100% {
    box-shadow: 0 0 0 10px rgba(28, 28, 28, 0.075);
    border-radius: 100px;
  }
  0% {
    box-shadow: 0 0 0 0px rgba(28, 28, 28, 0.432);
    border-radius: 100px;
  }
}
.box {
  --mask: linear-gradient(#000 0 0) center/calc(100% - 4px) calc(100% - 4px)
      no-repeat,
    conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 0 0 /4px
      2px space no-repeat,
    conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 0
      100%/4px 2px space no-repeat,
    conic-gradient(from 45deg at left, #0000, #000 1deg 89deg, #0000 90deg) 0 0 /2px
      4px no-repeat space,
    conic-gradient(from -135deg at right, #0000, #000 1deg 89deg, #0000 90deg)
      100% 0/2px 4px no-repeat space;
  -webkit-mask: var(--mask);
  mask: var(--mask);
}
.fabric-box {
  height: 75px;
  width: 75px;
  display: inline-block;
}

.colors-box {
  background-color: brown;
  height: 35px;
  width: 35px;
  display: inline-block;
}

.marquee-container {
  background: linear-gradient(135deg, var(--sunroll-navy, #0f2747) 0%, #1a3a5c 100%);
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: var(--sunroll-radius-xs, 8px);
  margin: 2rem 0 0 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  width: 100%;
}

.marquee-content {
  display: flex;
  gap: 1rem; /* مسافة بسيطة بين النسخ */
  width: max-content;
  animation: marquee 60s linear infinite;
}
/* ADD THESE RULES FOR THE GRADIENT FADE */
.marquee-container::before,
.marquee-container::after {
    content: ""; /* Required for pseudo-elements */
    position: absolute;
    top: 0;
    height: 100%;
    width: 75px; /* Adjust the width of the fade effect */
    z-index: 2; /* Ensures the gradient is on top of the text */
}
/* Left side gradient */
.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--sunroll-navy, #0f2747), transparent);
}

/* Right side gradient */
.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #1a3a5c, transparent);
}
/* END OF NEW RULES */

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(50%);
  } /* يحرك نصف الطول لتكرار سلس */
}

.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}
