/* #recommendations {
  display: flex;
  flex-direction: column;
  padding: 70px 0px 10px 0px;
  gap: 50px;
  background-image: linear-gradient(to top, rgb(255, 239, 213), white);
}

#recoHeader {
  text-align: center;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: clamp(26px, 2.4vw, 32px);
  color: rgb(101, 12, 50);
}

#recoWrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.reco-track {
  display: flex;
  gap: 20px;
  width: min(1100px, 100%);
  overflow-x: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.reco-track::-webkit-scrollbar {
  display: none;
}

.reco-item {
  flex: 0 0 calc((100% - 40px) / 3);
  height: 400px;
  background-image: linear-gradient(to top, rgb(255, 239, 213), white);
  font-family: "Fredoka", sans-serif;
  border-radius: 10px;
  box-shadow: 0 0 8px rgba(0,0,0,0.1);
  font-size: clamp(14px, 3vw, 14px);
  color: rgb(92, 92, 92);
  font-style: italic;
}

.reco-inner {
  height: 100%;
  padding: 30px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.reco-title {
  text-align: center;
  font-family: "Fredoka", sans-serif;
  font-weight: 400;
  margin-bottom: 10px;
}

.txt {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.arrow-reco {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  background: rgba(255,255,255,0.8);
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  z-index: 10;
  user-select: none;
  display: none;
}

.arrow-left { left: 10px; }
.arrow-right { right: 10px; }

@media (max-width: 768px) {
  #recoWrapper {
    overflow: hidden;
  }

  .arrow-reco {
    display: none !important;
  }

  .reco-track {
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .reco-item {
    flex: 0 0 100%; 
    scroll-snap-align: start;
  }
}

.reco-track { direction: ltr; }

.reco-item { direction: rtl; } */

#recommendations {
    display: flex;
    flex-direction: column;
    padding: 70px 0px 10px 0px;
    gap: 50px;
    background-image: linear-gradient(to top, rgb(255, 239, 213), white);
  }

  #recoHeader {
    text-align: center;
    font-family: "Almog", sans-serif;
    font-weight: 800;
    font-size: clamp(16px, 2.4vw, 20px);
    color: rgb(101, 12, 50);
  }

  #recoWrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
  }

  /* TRACK: RTL אמיתי */
  .reco-track {
    display: flex;
    gap: 20px;
    width: min(1100px, 100%);
    overflow-x: auto;               /* מאפשר גם מובייל וגם התאמה יציבה */
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;

    direction: rtl;                 /* זה מה שגורם ל"כרטיס ראשון מימין" */
    scroll-snap-type: x mandatory;  /* snap גם במובייל */
    padding: 4px 0;                 /* שלא ייחתך צל */
  }
  .reco-track::-webkit-scrollbar { display: none; }

  /* כרטיסים */
  .reco-item {
    flex: 0 0 calc((100% - 40px) / 3); /* דסקטופ: 3 */
    height: 400px;
    background-image: linear-gradient(to top, rgb(255, 239, 213), white);
    font-family: "Assistant", sans-serif;
    font-weight: 400;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
    font-size: clamp(14px, 3vw, 14px);
    color: rgb(92, 92, 92);
    font-style: italic;
    direction: rtl;
    scroll-snap-align: start;
  }

  .reco-inner {
    height: 100%;
    padding: 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
  }

  /* חיצים - תמיד קיימים, JS יחליט אם להסתיר */
  .arrow-reco {
    position: absolute;
    background: none;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 999px;
    z-index: 10;
    user-select: none;
    color: rgb(222, 207, 184);
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  }

  /* ב-RTL: left = הבא, right = הקודם */
  .arrow-left { left: 50px; }
  .arrow-right { right: 50px; }

  /* מובייל: כרטיס אחד + חיצים קטנים */
  @media (max-width: 768px) {
    .reco-item { flex: 0 0 100%; }
  }


  @media (max-width:768px){
  #recoWrapper{
    position: relative;
  }

  #recoWrapper::after{
    content:"";
    position:absolute;
    top: 0;
    left: 0;
    width: 70px;
    height: 100%;
    pointer-events:none;

    background:linear-gradient(
      to left,
      rgba(255,255,255,0),
      rgb(255, 240, 216)
    );
  }
}
