/* ========== tg-catalog.css — גרסה נקייה ========== */

/* בסיס + משתנים */
#tg-search{
  --tg-bg:#ffffffcc;        /* שקיפות קלה ל-blur */
  --tg-br:16px;
  --tg-bd:#e7e7e7;
  --tg-txt:#111827;
  --tg-muted:#6b7280;
  --tg-accent:#0e7a3f;
  --tg-accent-2:#128f4e;
  --tg-ring:0 0 0 4px rgba(14,122,63,.15);
  --tg-shadow:0 12px 28px rgba(0,0,0,.10);

  font-family:'Rubik',sans-serif;
  font-size:14px;
  background:var(--tg-bg);
  border:1px solid var(--tg-bd);
  border-radius:var(--tg-br);
  padding:18px 18px 14px;
  margin-bottom:16px;
  box-shadow:var(--tg-shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
@supports (position: sticky){
  #tg-search{ position: sticky; top:8px; z-index:40; }
}

#tg-search .tg-row{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap}
#tg-search .field{display:flex;flex-direction:column;gap:6px;position:relative;min-width:0}
#tg-search label{width:auto;color: #000000;font-weight:600;letter-spacing:.2px}

/* פרופורציות 70/30 */
#tg-search .col-70{flex:0 0 70%;max-width:70%}
#tg-search .col-30{flex:0 0 30%;max-width:30%}
@media (max-width:820px){
  #tg-search .col-70,#tg-search .col-30{flex:1 1 100%;max-width:48%}
}

/* קלטים וכפתור */
#tg-search input,
#tg-search select,
#tg-search button,
#tg-search input[type=submit]{
  width:100%;
  padding:12px 14px;
  border:1px solid var(--tg-bd);
  border-radius:14px;
  font:14px/1.2 'Rubik',sans-serif;
  box-sizing:border-box;
  background:#fff;
  transition: border-color .15s ease, box-shadow .15s ease, transform .06s ease;
}
#tg-search input:focus,
#tg-search select:focus{
  outline:0;border-color:var(--tg-accent);box-shadow:var(--tg-ring);
}

/* אייקונים לשדות */
#tg-search .field::before{
  content:""; position:absolute; top:30px; inset-inline-start:12px;
  width:20px; height:20px; opacity:.9; background-size:20px 20px; background-repeat:no-repeat;
}
#tg-search .icon-date::before{
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='5' width='18' height='16' rx='3' stroke='%230e7a3f' stroke-width='1.6'/%3E%3Cpath d='M8 3v4M16 3v4M3 10h18' stroke='%230e7a3f' stroke-width='1.6'/%3E%3C/svg%3E");
}
#tg-search .icon-time::before{
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='9' stroke='%230e7a3f' stroke-width='1.6'/%3E%3Cpath d='M12 7v6l4 2' stroke='%230e7a3f' stroke-width='1.6'/%3E%3C/svg%3E");
}
#tg-search .icon-car::before{
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 16h14l1-5-2.2-3.3A2 2 0 0 0 15.9 6H8.1a2 2 0 0 0-1.9 1.7L4 11l1 5Z' stroke='%230e7a3f' stroke-width='1.6'/%3E%3Ccircle cx='7.5' cy='17.5' r='1.5' fill='%230e7a3f'/%3E%3Ccircle cx='16.5' cy='17.5' r='1.5' fill='%230e7a3f'/%3E%3C/svg%3E");
}
#tg-search .icon-pin::before{
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 22s7-6.2 7-12a7 7 0 1 0-14 0c0 5.8 7 12 7 12Z' stroke='%230e7a3f' stroke-width='1.6'/%3E%3Ccircle cx='12' cy='10' r='2.5' stroke='%230e7a3f' stroke-width='1.6'/%3E%3C/svg%3E");
}
#tg-search input,
#tg-search select{ padding-inline-start:44px; }

/* סוויצ'ים (צ'קבוקסים) */
#tg-search .tg-row-options{gap:12px;flex-wrap:wrap}
#tg-search .field-inline{flex:0 0 auto;display:flex;align-items:center;gap:10px;font-weight:600;color:#1f2937;justify-content:center;}
#tg-search .field-inline input[type="checkbox"]{
  appearance:none;-webkit-appearance:none;width:45px;height:27px;border-radius:999px;background:#e5e7eb;
  position:relative;transition:background .2s ease, box-shadow .2s ease;box-shadow: inset 0 0 0 2px #e5e7eb;
}
#tg-search .field-inline input[type="checkbox"]::after{
  content:"";position:absolute;top:3px;inset-inline-start:3px;width:20px;height:20px;border-radius:50%;
  background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2);transition:transform .2s ease;
}
#tg-search .field-inline input[type="checkbox"]:checked{background:#10b981;box-shadow: inset 0 0 0 2px #10b981}
#tg-search .field-inline input[type="checkbox"]:checked::after{transform:translateX(-33px)}

/* כפתור */
#tg-search .tg-btn-apply{
  min-height:44px;border-radius:14px;font-size:16px;font-weight:800;
  background:linear-gradient(180deg,var(--tg-accent) 0%,#0c6c38 100%);
  color:#fff;border:0;cursor:pointer;
  box-shadow:0 10px 20px rgba(14,122,63,.25), inset 0 1px 0 rgba(255,255,255,.25);
  transition:filter .15s ease, transform .06s ease;
}
#tg-search .tg-btn-apply:hover{filter:saturate(1.1)}
#tg-search .tg-btn-apply:active{transform:translateY(1px)}
#tg-search .tg-btn-apply.is-loading{position:relative;color:transparent}
#tg-search .tg-btn-apply.is-loading::after{
  content:"";position:absolute;inset:0;margin:auto;width:20px;height:20px;border:3px solid rgba(255,255,255,.55);
  border-top-color:#fff;border-radius:50%;animation:tg-spin .8s linear infinite
}
@keyframes tg-spin{to{transform:rotate(360deg)}}


/* כרטיסים – עיצוב נקי וממוזג בתוך ה-Loop Grid */
.tg-card.tg-card--inline{
  background:transparent;
  border:0;
  box-shadow:none;
  padding:0;
  margin:0;
}

.tg-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    font-family: 'Rubik';
    margin-top: 8px;
    flex-wrap: wrap;
}

span.tg-total {
    background-color: #7cb22270;
    padding: 0px 10px 0px 10px;
    border-radius: 5px;
    border: 1px solid #b0b0b0;
}

.tg-price-row .tg-sep{
  opacity:.5;
}

.tg-summary {
    color: #4b5563;
    font-size: 14px;
    margin-top: 0px;
}


/* כפתור וואטסאפ עם שיימר חי (בלי אפקט לחיצה) */
.tg-wa-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px; /* רווח קטן אם תרצה אייקון */
  background: linear-gradient(90deg, #1fbe57, #25D366, #1fbe57);
  background-size: 200% 100%;          /* מאפשר תזוזה של הגרדיאנט */
  color:#fff;
  padding:0 10px;
  border-radius:10px;
  border:1px solid #1bab59;            /* מסגרת דקה */
  font-size:15px;
  font-family:'Rubik',sans-serif;      /* הפונט שביקשת */
  font-weight:600;
  text-decoration:none;
  margin-top:2px;
  box-shadow:0 2px 4px rgba(0,0,0,.15);
  position:relative;
  overflow:hidden;
  animation: tgShimmer 3s ease-in-out infinite; /* תנועת הרקע הירוק */
}

/* פס ברק עדין שחוצה את הכפתור */
.tg-wa-btn::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,.18) 45%,
    rgba(255,255,255,.40) 50%,
    rgba(255,255,255,.18) 55%,
    transparent 100%
  );
  transform: translateX(-100%);
  animation: tgSheen 2.8s linear infinite; /* שיימר עדין */
  pointer-events:none;
}

/* אייקון וואטסאפ קטן (אופציונלי) */
.tg-wa-btn::before{
  content:'';
  width:16px; height:16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 32 32'%3E%3Cpath d='M16.002 2.002c-7.732 0-14 6.268-14 14 0 2.475.648 4.883 1.877 7.004l-1.235 4.517 4.641-1.214A13.93 13.93 0 0016.002 30c7.732 0 14-6.268 14-14s-6.268-13.998-14-13.998zm0 25.576a11.56 11.56 0 01-5.876-1.588l-.421-.248-2.753.719.735-2.691-.274-.439a11.505 11.505 0 01-1.737-6.116c0-6.351 5.168-11.52 11.521-11.52 3.08 0 5.977 1.2 8.157 3.381a11.463 11.463 0 013.364 8.14c0 6.353-5.17 11.522-11.516 11.522zm6.479-8.688c-.355-.177-2.094-1.032-2.42-1.148-.325-.118-.563-.177-.8.177-.238.354-.917 1.148-1.125 1.384-.207.237-.413.266-.767.089-.355-.178-1.5-.553-2.857-1.765-1.056-.94-1.77-2.102-1.979-2.456-.206-.355-.022-.547.155-.724.159-.158.355-.414.532-.621.177-.207.237-.355.355-.592.118-.236.06-.443-.03-.621-.089-.177-.8-1.92-1.096-2.626-.289-.69-.582-.596-.8-.607-.207-.01-.443-.012-.68-.012a1.308 1.308 0 00-.946.444c-.325.354-1.239 1.21-1.239 2.951 0 1.74 1.268 3.418 1.446 3.654.178.236 2.495 3.817 6.047 5.338.845.365 1.504.584 2.018.748.848.27 1.62.232 2.231.141.681-.102 2.094-.855 2.39-1.682.295-.827.295-1.534.207-1.682-.09-.147-.325-.237-.681-.414z'/%3E%3C/svg%3E") no-repeat center/contain;
  margin-inline-end:6px; /* רווח קטן מהטקסט */
}

/* אנימציות */
@keyframes tgShimmer{
  0%   { background-position:   0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position:   0% 50%; }
}
@keyframes tgSheen{
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* נגישות: כיבוי אנימציות למי שמעדיף פחות תנועה */
@media (prefers-reduced-motion: reduce){
  .tg-wa-btn{ animation: none; }
  .tg-wa-btn::after{ animation: none; }
}


.tg-wa-btn.is-disabled{
  filter:grayscale(1);
  opacity:.5;
  pointer-events:none;
}

/* מצב שגיאה */
#tg-search input.is-invalid,
#tg-search select.is-invalid{border-color:#ef4444;box-shadow:0 0 0 4px rgba(239,68,68,.12)}


/* ===== Air Datepicker – גרסה קלאסית ונקייה ===== */
/* סגנונות כלליים: חלים תמיד (נייד ודסקטופ) */
.air-datepicker {
    direction: rtl; /* אלא אם כן תרצה לשנות זאת לדסקטופ */
    font-family: 'Rubik', sans-serif;
    font-size: 17px;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: #fff;
    padding: 25px;
}

/* כלל ספציפי: חל רק על מסכים קטנים (נייד) */
@media (max-width: 767px) {
    .air-datepicker {
        left: 20% !important;
    }
}



/* כותרת עליונה */
.air-datepicker-nav {
  justify-content: space-between;
  align-items: center;
  background: #fff;
	font-size: 18px;
  color: #111;
  border-bottom: 1px solid #ddd;
  padding: 8px 10px;
  font-weight: 600;
	
}

/* חיצים */
.air-datepicker-nav--prev,
.air-datepicker-nav--next {
  opacity: 0.9;
  transition: opacity 0.2s ease;
  filter: none;
}



/* ריחוף */
.air-datepicker-nav--prev:hover,
.air-datepicker-nav--next:hover {
  opacity: 1;
}

/* שמות הימים */
.air-datepicker-body--day-names {
  background: #f8f8f8;
  border-bottom: 1px solid #e5e5e5;
}
.air-datepicker-body--day-name {
  color: #000;
  font-weight: 500;
  font-size: 18px;
  text-align: center;
}

/* תאים רגילים */
.air-datepicker-cell {
  color: #111;
  background: #fff;
  border-radius: 0px;
  transition: background 0.2s ease;
}
.air-datepicker-cell:hover {
  background: #f0f0f0;
}

/* יום נבחר */
.air-datepicker-cell.-selected-,
.air-datepicker-cell.-selected-:hover {
  background: #000 !important;
  color: #fff !important;
  font-weight: 500;
  border-radius: 0px;
  box-shadow: 0 0 0 1px #000;
}
/* אל תדגיש בכלל את היום הנוכחי (לא מסגרת, לא צבע, לא bold) */
.air-datepicker-cell.-current-,
.air-datepicker-cell.-current-:hover,
.air-datepicker-cell.-current-.-focus- {
  background: transparent !important;
  border-color: transparent !important;
  color: inherit !important;
  font-weight: inherit !important;
  box-shadow: none !important;
}


/* תאים לא שייכים לחודש */
.air-datepicker-cell.-other-month- {
  color: #bbb;
}

/* ריווח */
.air-datepicker-body--cells.-days- {
  padding: 5px 5px;
}


/* ימים לפני תאריך ההתחלה: אפורים וחסומים */
.air-datepicker-cell.tg-disabled-before {
  color: #bbb !important;
  background: #f3f3f3 !important;
  pointer-events: none;
  opacity: .9;
  border-radius: 0px;
}

/* אופציונלי: אם תרצה הצללה קלה בין תאריך ההתחלה לסוף כשהסוף נבחר */
.air-datepicker-cell.tg-in-range {
  background: rgba(0,0,0,.06) !important;
  border-radius: 0px;
}

/* תאריכים שבין תאריך ההתחלה לתאריך הסיום */
.air-datepicker-cell.tg-in-range {
  background: rgba(0, 0, 0, 0.08) !important;
  color: #000 !important;
  border-radius: 0 !important;
}

/* תאריכי קצה — כהים יותר */
.air-datepicker-cell.-selected- {
  background: #000 !important;
  color: #fff !important;
  font-weight: 600;
}

/* כל הימים שבטווח הבחירה – שחור מלא */
.air-datepicker-cell.tg-in-range {
  background: #000 !important;
  color: #fff !important;
  border-radius: 0 !important;
}

/* שנה וחודש בצבע שחור */
.air-datepicker-nav--title i,
.air-datepicker-nav--title span {
  color: #000 !important;
  font-weight: 600;
}

/* עיצוב כללי של הכותרת */
.air-datepicker-nav--title {
  font-weight: 700;
  color: #000 !important;
}

/* חיצים בצבע שחור */
.air-datepicker-nav--action svg,
.air-datepicker-nav--action path,
.air-datepicker-nav--action polygon {
  stroke: #000 !important;
  fill: #000 !important;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.air-datepicker-nav--action:hover svg,
.air-datepicker-nav--action:hover path,
.air-datepicker-nav--action:hover polygon {
  opacity: 1;
}


/* הפוך את חץ "הבא" לשמאלה – תופס את כל הוריאציות */
.air-datepicker .air-datepicker-nav--action[data-action="next"] svg,
.air-datepicker .air-datepicker-nav--action[data-action="next"] .air-datepicker-nav--arrow,
.air-datepicker .air-datepicker-nav--next svg,
.air-datepicker .air-datepicker-nav--next .air-datepicker-nav--arrow {
  transform: rotate(180deg) !important;
  transform-origin: 50% 50%;
}

/* ודא שחץ "הקודם" נשאר ימינה */
.air-datepicker .air-datepicker-nav--action[data-action="prev"] svg,
.air-datepicker .air-datepicker-nav--action[data-action="prev"] .air-datepicker-nav--arrow,
.air-datepicker .air-datepicker-nav--prev svg,
.air-datepicker .air-datepicker-nav--prev .air-datepicker-nav--arrow {
 transform: rotate(180deg) !important;
}

/* אם הספרייה הוסיפה transform על המכלול – ננטרל אותו */
.air-datepicker .air-datepicker-nav--action[data-action="next"] {
  transform: none !important;
}


select#tgq-pickup {
    width: 100%;
}



/* רווחים יפים בין כל מקטע בטופס */
.tg-search-form > * {
  display: block;
  margin-bottom: 10px; /* רווח קטן ואחיד בין כל רכיב */
}

/* קצת פחות רווח בין שורות פנימיות */
.tg-row {
  margin-bottom: 15px;
}

/* ביטול רווח מיותר מהכפתור האחרון */
.tg-search-form > *:last-child {
  margin-bottom: 8px;
}

/* שאילתת מדיה: חלה רק כאשר רוחב המסך הוא 768 פיקסלים או יותר (דסקטופ) */
@media (min-width: 768px) {
    #tg-search .col-70 {
        /* כללי הדסקטופ שצוינו */
        flex: 0 0 70%;
        max-width: 50%;
    }

    #tg-search .col-30 {
        /* כללי הדסקטופ שצוינו */
        flex: 48%;
        max-width: 50%;
    }
}


/* ===== בסיס: עיצוב אחיד לשדות select ===== */
#tg-search select,
.tg-search-form select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-color: #fff !important;
  border: 1px solid #ccc !important;
  border-radius: 10px !important;
  padding: 10x 15px !important;
  font-family: 'Rubik', sans-serif;
  font-size: 16px; /* חשוב לאייפון כדי למנוע זום */
  color: #111;
  width: 100%;
  line-height: 1.1;
  background-image: none !important;
  background-clip: padding-box !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* ===== חץ מותאם (SVG) ===== */
#tg-search select,
.tg-search-form select {
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23111' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left 10px center !important;
  background-size: 12px !important;
  padding-left: 30px  !important; /* מקום לחץ */
}

/* ===== עיצוב במגע (focus) ===== */
#tg-search select:focus,
.tg-search-form select:focus,
#tg-search input:focus,
.tg-search-form input:focus {
  outline: none !important;
  border-color: #000 !important;
  box-shadow: 0 0 0 2px rgba(0,0,0,0.1);
}

/* ===== התאמות ספציפיות לאייפון ===== */
@supports (-webkit-touch-callout: none) {
  #tg-search input,
  #tg-search select,
  #tg-search textarea,
  .tg-search-form input,
  .tg-search-form select,
  .tg-search-form textarea {
    font-size: 16px !important; /* מונע את הזום */
    transform: none !important; /* לא שוברים את האייקונים */
  }
}

/* ===== עיצוב האייקונים ליד השדות ===== */
.field {
  position: relative;
}

.field::before {
  content: '';
  position: absolute;
  
  top: 20%;
  transform: translateY(-00%);
  font-family: 'Font Awesome 5 Free', 'Font Awesome 6 Free', 'Elementor Icons';
  font-weight: 900;
  color: #555;
  pointer-events: none;
  font-size: 18px;
}

/* לכל סוג שדה סמל ייחודי */
.icon-date::before { content: '\f073'; }  /* calendar */
.icon-time::before { content: '\f017'; }  /* clock */
.icon-pin::before  { content: '\f3c5'; }  /* map-marker */
.icon-baby::before { content: '\f77c'; }  /* baby */
.icon-car::before  { content: '\f1b9'; }  /* car */

/* ריווח פנימי לטקסט כדי לא לחפוף אייקון */
.field input,
.field select {
  padding-right 20x !important;
}

/* ===== מגע ונראות ===== */
.field input,
.field select {
  box-sizing: border-box;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  color: #111;
  width: 100%;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* ריחוף */
.field input:hover,
.field select:hover {
  border-color: #000;
}

/* רספונסיביות כללית */
@media (max-width: 480px) {
  .field input,
  .field select {
    font-size: 15px !important;
    padding: 10px 10px 10px 34px !important;
  }
}


.icon-baby::before {
    content: '\f77c';
	display: none;
}


/* ===== תקון עיקרי: ריווח נכון לאייקונים, בלי התנגשות RTL ===== */
#tg-search .field { position: relative; }

/* האייקון מיושר אנכית, בצד ההתחלתי (RTL-aware) */
#tg-search .field::before{
  content:"";
  position:absolute;
  top:65%;
  inset-inline-start:12px;               /* ימין ב־RTL, שמאל ב־LTR */
  transform: translateY(-50%);
  width:20px; height:20px;
  opacity:.9;
  background-size:20px 20px;
  background-repeat:no-repeat;
  pointer-events:none;
  z-index:1;                             /* תמיד מעל הרקע של השדה */
}

/* אייקונים (SVG) לשדות שלך */
#tg-search .icon-date::before{
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='3' y='5' width='18' height='16' rx='3' stroke='%230e7a3f' stroke-width='1.6'/%3E%3Cpath d='M8 3v4M16 3v4M3 10h18' stroke='%230e7a3f' stroke-width='1.6'/%3E%3C/svg%3E");
}
#tg-search .icon-time::before{
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='9' stroke='%230e7a3f' stroke-width='1.6'/%3E%3Cpath d='M12 7v6l4 2' stroke='%230e7a3f' stroke-width='1.6'/%3E%3C/svg%3E");
}
#tg-search .icon-car::before{
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 16h14l1-5-2.2-3.3A2 2 0 0 0 15.9 6H8.1a2 2 0 0 0-1.9 1.7L4 11l1 5Z' stroke='%230e7a3f' stroke-width='1.6'/%3E%3Ccircle cx='7.5' cy='17.5' r='1.5' fill='%230e7a3f'/%3E%3Ccircle cx='16.5' cy='17.5' r='1.5' fill='%230e7a3f'/%3E%3C/svg%3E");
}
#tg-search .icon-pin::before{
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 22s7-6.2 7-12a7 7 0 1 0-14 0c0 5.8 7 12 7 12Z' stroke='%230e7a3f' stroke-width='1.6'/%3E%3Ccircle cx='12' cy='10' r='2.5' stroke='%230e7a3f' stroke-width='1.6'/%3E%3C/svg%3E");
}

/* ריווח פנימי לשדות כדי שלא יעלו על האייקון (גובר על כללים ישנים) */
#tg-search .field > input,
#tg-search .field > select {
  padding-inline-start: 44px !important; /* RTL-aware */
  padding-inline-end: 20px !important;
}

/* אם יש לך כלל קודם כמו: #tg-search input, #tg-search select { padding-inline-start:48px; }
   הכלל למעלה ינצח בזכות ספציפיות + !important */

/* ===== Select – איפוס ספארי + חץ מותאם, מבלי לריב עם האייקון ===== */
#tg-search select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background-color: #fff !important;
  border: 1px solid #ccc !important;
  border-radius: 14px !important;
  padding: 12px 14px !important;        /* בסיס */
  font: 16px/1 'Rubik', sans-serif;   /* 16px מונע זום באייפון */
  color: #111;
  width: 100%;
  background-clip: padding-box !important;
  transition: border-color .2s ease, box-shadow .2s ease;
  /* חץ (משמאל ב־RTL). נשמר רווח האייקון שלנו ע"י ה־padding-inline-start למעלה */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23111' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 10px center; /* ל־RTL זה הצד ההתחלתי */
  background-size: 12px;
}

/* פוקוס אחיד */
#tg-search input:focus,
#tg-search select:focus {
  outline: none !important;
  border-color: #0e7a3f !important;
  box-shadow: 0 0 0 3px rgba(14,122,63,.15);
}

/* ===== iPhone / Safari – מניעת זום בלי scale (שומר על האייקונים) ===== */
@supports (-webkit-touch-callout: none) {
  #tg-search input,
  #tg-search select,
  #tg-search textarea {
    font-size: 16px !important;    /* עוצר zoom */
    transform: none !important;     /* לא לשנות scale */
  }
}

/* ===== תיקון טייפואים שהיו אצלך (חשוב!) ===== */
/* היה לך "padding: 10x 15px" → צריך px, והיה "padding-right 20x" בלי נקודתיים */
#tg-search .field input,
#tg-search .field select {
  /* אם כתבת איפשהו padding-right 20x – זה בטל ע"י הכללים החדשים */
  /* כאן נשאיר רק את מה שצריך כבר למעלה */
}

/* ===== Loader Overlay + Track Car Animation ===== */
.tg-loading-overlay{
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.tg-loading-overlay.is-on{
  opacity: 1;
  pointer-events: auto;
}

html.tg-loading-lock, body.tg-loading-lock{
  overflow: hidden !important;
}

.tg-loading-box{
  width: min(520px, calc(100vw - 28px));
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  padding: 18px 16px 16px;
  box-shadow: 0 18px 60px rgba(0,0,0,.12);
}

.tg-loading-title{
  font-weight: 800;
  font-size: 18px;
  color: #0f172a;
  margin-bottom: 6px;
}

.tg-loading-sub{
  font-size: 13px;
  color: #64748b;
  margin-bottom: 14px;
  line-height: 1.35;
}

/* מסלול */
.tg-track{
  position: relative;
  height: 86px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f8fafc, #ffffff);
  border: 1px solid rgba(0,0,0,.06);
  overflow: hidden;
  margin: 10px 0 14px;
}

.tg-track-road{
  position: absolute;
  left: 10px;
  right: 10px;
  top: 50%;
  height: 46px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, #0b1220, #111827);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

/* קווים זזים בכביש */
.tg-track-dashes{
  position: absolute;
  left: 20px;
  right: 20px;
  top: 50%;
  height: 6px;
  transform: translateY(-50%);
  background: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,.75) 0 22px,
    rgba(255,255,255,0) 22px 42px
  );
  border-radius: 999px;
  opacity: .7;
  animation: tg-dashes 1.1s linear infinite;
}

@keyframes tg-dashes{
  from{ background-position: 0 0; }
  to{ background-position: -64px 0; }
}

/* רכב */
.tg-car{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 86px;
  height: 44px;
  animation: tg-car-drive 2.2s ease-in-out infinite;
  filter: drop-shadow(0 10px 12px rgba(0,0,0,.22));
}

@keyframes tg-car-drive{
  0%   { left: 10px;  transform: translateY(-50%) translateX(0); }
  50%  { left: calc(100% - 96px); transform: translateY(-50%) translateX(0); }
  100% { left: 10px;  transform: translateY(-50%) translateX(0); }
}

.tg-car-body{
  position: absolute;
  inset: 8px 10px 12px 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.25);
}

.tg-car-body::before{
  content:"";
  position: absolute;
  left: 16px;
  right: 18px;
  top: -10px;
  height: 18px;
  border-radius: 10px 14px 10px 10px;
  background: linear-gradient(135deg, #34d399, #16a34a);
}

.tg-car-body::after{
  content:"";
  position: absolute;
  right: 14px;
  top: -6px;
  width: 22px;
  height: 12px;
  border-radius: 6px;
  background: rgba(255,255,255,.22);
}

.tg-car-wheel{
  position: absolute;
  bottom: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0b1220;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.14);
  animation: tg-wheel .45s linear infinite;
}

@keyframes tg-wheel{
  from{ transform: rotate(0deg); }
  to{ transform: rotate(360deg); }
}

.tg-car-wheel--f{ right: 18px; }
.tg-car-wheel--b{ left: 18px; }

/* הבר שלך נשאר */
.tg-loading-bar{
  height: 10px;
  border-radius: 999px;
  background: #eef2ff;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.06);
}
.tg-loading-bar i{
  display:block;
  height:100%;
  width:35%;
  background: linear-gradient(90deg, rgba(34,197,94,.2), rgba(34,197,94,.85), rgba(34,197,94,.2));
  animation: tg-bar 1.1s ease-in-out infinite;
}
@keyframes tg-bar{
  0%{ transform: translateX(-120%); }
  100%{ transform: translateX(320%); }
}

/* נגישות: מי שמעדיף בלי אנימציות */
@media (prefers-reduced-motion: reduce){
  .tg-track-dashes, .tg-car, .tg-car-wheel, .tg-loading-bar i{ animation: none !important; }
}


/* כפתור וואטסאפ – תמיד שורה אחת */
.tg-wa-btn{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  white-space:nowrap !important;
  width:auto !important;
  max-width:100%;
}

/* אם יש לך wrapper שעושה לו 100% רוחב דרך אלמנטור */
.tg-card .tg-wa-btn{
  width:100% !important;      /* אם אתה רוצה שיישאר ברוחב מלא אבל בלי שבירת שורה */
  white-space:nowrap !important;
}


/* ===== Toolbar מעל הלופ ===== */
.tg-results-toolbar{
  margin: 12px 0 18px;
  display: flex;
  justify-content: flex-end; /* RTL */
}

/* ===== כפתור מיון ===== */
.tg-sort-btn{
  display: inline-flex !important;
  align-items: center !important;
  flex-direction: row !important;
  gap: 8px !important;

  background: #0c6c38 ;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 18px;

  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;

  transition: background .2s ease,
              transform .15s ease,
              box-shadow .15s ease;

  box-shadow: 0 4px 12px rgba(37,211,102,.25);
}

.tg-sort-btn:hover{
  background: #1ebe5d;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(37,211,102,.35);
}

/* ===== טקסט ===== */
.tg-sort-text{
  display: inline-block;
  line-height: 1;
}

/* ===== אייקון ===== */
.tg-sort-icon{
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;

  font-size: 16px;
  line-height: 1;
}

