/*====================================================================
  theme.css  –  מחיל את ערכת הצבעים מההגדרות על רכיבי האתר
  נטען אחרי styles.css, ומשתמש רק במשתנים שנקבעים ב-<head>
====================================================================*/

a { color: inherit; }

.content a:not(.sc-button):not(.btn):not([class*="button"]):not(.find-cars):not([class*="btn-"]),
.tf-section a:not(.sc-button):not(.btn):not([class*="button"]):not(.find-cars):not([class*="btn-"]),
.entry-content a,
.page-content a {
    color: var(--link-color, #0056b3);
    transition: color .15s;
}
.content a:not(.sc-button):not(.btn):not([class*="button"]):not(.find-cars):not([class*="btn-"]):hover,
.tf-section a:not(.sc-button):not(.btn):not([class*="button"]):not(.find-cars):not([class*="btn-"]):hover,
.entry-content a:hover,
.page-content a:hover {
    color: var(--link-hover-color, #003d80);
}

/* כפתור משני */
.sc-button.second,
.btn-secondary,
.second-btn {
    background: var(--secondary-color, #5f90c4);
    color: var(--secondary-ink, #fff);
    border-color: var(--secondary-color, #5f90c4);
}
.sc-button.second:hover,
.btn-secondary:hover,
.second-btn:hover { filter: brightness(.92); }

/* תגיות והדגשות */
.flag-tag,
.badge-accent,
.tag-accent {
    background: var(--brand-orange, #FDBC57);
    color: var(--black-text-color, #000);
}

/* אזורים בהירים לאורך האתר */
.bg-light-section,
.section-light { background: var(--bg-light, #fafafa); }

/*====================================================================
  אזורים כהים
  במקום לרדוף אחרי כל כלל בנפרד, מגדירים מחדש את המשתנים בתוך
  המכל הכהה – וכל הצאצאים מקבלים אוטומטית צבעים קריאים.
  הסלקטורים נלקחו מהמבנה האמיתי של התבנית.
====================================================================*/
#footer,
.footer,
.slider,
.mainslider,
.form-sl,
.overlay,
.bg-dark,
.bg-black,
.dark-section,
.main-header.style2 .is-fixed.is-small {
    --link-color:       var(--link-on-dark, #8ab4f8);
    --link-hover-color: var(--link-on-dark-hover, #aecbfa);
    --base-color-text:  var(--base-color-on-dark, var(--base-color));
}

/* קישורי טקסט בתוך אזורים כהים */
#footer a:not(.sc-button):not(.btn):not([class*="button"]):not(.find-cars):not([class*="btn-"]),
.footer a:not(.sc-button):not(.btn):not([class*="button"]):not(.find-cars):not([class*="btn-"]),
.dark-section a:not(.sc-button):not(.btn):not([class*="button"]):not(.find-cars):not([class*="btn-"]),
.bg-black a:not(.sc-button):not(.btn):not([class*="button"]):not(.find-cars):not([class*="btn-"]),
.bg-dark a:not(.sc-button):not(.btn):not([class*="button"]):not(.find-cars):not([class*="btn-"]) {
    color: var(--link-on-dark, #8ab4f8);
}
#footer a:not(.sc-button):not(.btn):not([class*="button"]):not(.find-cars):not([class*="btn-"]):hover,
.footer a:not(.sc-button):not(.btn):not([class*="button"]):not(.find-cars):not([class*="btn-"]):hover,
.dark-section a:not(.sc-button):not(.btn):not([class*="button"]):not(.find-cars):not([class*="btn-"]):hover,
.bg-black a:not(.sc-button):not(.btn):not([class*="button"]):not(.find-cars):not([class*="btn-"]):hover,
.bg-dark a:not(.sc-button):not(.btn):not([class*="button"]):not(.find-cars):not([class*="btn-"]):hover {
    color: var(--link-on-dark-hover, #aecbfa);
}

/* כפתורים שומרים על צבע המותג ועל טקסט מנוגד, גם בתוך אזור כהה */
#footer .sc-button,
#footer .btn,
.dark-section .sc-button,
.dark-section .btn,
.bg-dark .sc-button,
.bg-dark .btn {
    background: var(--base-color);
    color: var(--base-button-text, #fff);
}


/*====================================================================
  טקסט על מילוי צבעוני – ניגודיות מובטחת
  הסלקטורים ארוכים בכוונה, כדי לגבור על כללי התבנית המקוריים.
====================================================================*/

/* כפתורים שממולאים בצבע המותג */
.tab-switch.active,
.tab-switch.current,
.btn-view.active,
.btn-view.grid.active,
.profile-contact .btn-contact .btn-pf.bg-orange,
#compare_listing_wrap .compare-listing .compare-listing-body .tfcl-compare-listing-button,
.tfcl-compare-listing-button {
    color: var(--base-button-text, #14161a);
}

/* כפתור וואטסאפ – הירוק של התבנית בהיר מדי ללבן */
.profile-contact .btn-contact .btn-pf.bg-green {
    color: #14161a;
}
.profile-contact .btn-contact .btn-pf.bg-green svg path,
.profile-contact .btn-contact .btn-pf.bg-green svg [stroke] {
    stroke: #14161a;
}

/* אייקוני רשתות – היו בהירים מדי על רקע בהיר */
.icon-social.style2 a { color: var(--text-color, #29252d); }
.icon-social.style2 a:hover { color: var(--base-color-text, var(--base-color)); }

/* פקדי עמוד המלאי – לשונית פעילה ומתג תצוגה ממולאים בצבע המותג */
.listing-grid .btn-view.grid:hover,
.listing-grid .btn-view.grid.active,
.listing-grid .btn-view.list:hover,
.listing-grid .btn-view.list.active,
.menu-tab .item-title.active .tab-switch,
.menu-tab .item-title.active > a,
.tab-title .item-title.active .tab-switch,
.tab-title .item-title.active > a {
    color: var(--base-button-text, #14161a);
}

/*====================================================================
  נוצר אוטומטית מתוך styles.css: כל רכיב שממולא בצבע המותג
  מקבל צבע טקסט מנוגד, כך שגם מותג בהיר וגם מותג כהה נשארים קריאים.
  הערות ב-CSS מנוקות לפני הסריקה: כלל שהמילוי שלו מושבת בהערה
  הוא כפתור מתאר, ואסור לכפות עליו את צבע הטקסט של מילוי.
====================================================================*/
.mobile-button span,
.sc-button,
.sc-button:hover,
.top-filters .button-top:hover,
.flat-tabs.style2 .tab-title li:hover,
.flat-tabs.style2 .tab-title li.active,
.flat-testimonial3 .wrap-testi .box,
.flat-search-today .wrap-search-today .images .icon-socials,
.flat-pricing .box.active,
.flat-agencies-sidebar2 .box-agencies .icon-info a:hover,
.flat-about .icon-box.icon-box2,
.flat-property-detail .wrap-house .icon-boxs a:hover,
.flat-property-detail .wrap-nearby .icon,
.flat-blog-grid .box .date,
.flat-blog-detail .tags a:hover,
.flat-blog-detail .share-box .icon-social a:hover,
.post-video a:hover,
.flat-count .counter-box,
.specs-features:hover,
.action-icon .icon:hover,
.profile-contact .btn-contact .btn-pf.bg-orange,
.profile-contact .btn-contact .btn-pf.bg-green:hover,
.widget-form button,
.icon-social a:hover,
.swiper-button-next:hover,
.swiper-button-prev:hover,
.swiper-button-next.style-1:hover,
.swiper-button-prev.style-1:hover,
.swiper-button-next.style-2:hover,
.swiper-button-prev.style-2:hover,
.swiper-button-next.style-3:hover,
.swiper-button-prev.style-3:hover,
.slider.home7 .slider-item .content .po-content .heading .reserve-wrap .reserve,
.flat-tabs .tab-title li.style:hover,
.flat-tabs .tab-title li.style.active,
.flat-tabs .tab-title.style1 li.active a,
.flat-tabs .box-tab.style4 .tab-title li:hover,
.flat-tabs .box-tab.style4 .tab-title li.active,
.tab-listing-scroll .nav-pills .nav-item .nav-link.active,
.controller-button .icon-controller:hover,
.icon-filter.click,
.icon-filter:hover,
.pagi2 .swiper-pagination-bullet.swiper-pagination-bullet-active,
.swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active,
.swiper-pagination3 .swiper-pagination-bullet.swiper-pagination-bullet-active,
.swiper-pagination4 .swiper-pagination-bullet.swiper-pagination-bullet-active,
.swiper-pagination5 .swiper-pagination-bullet.swiper-pagination-bullet-active,
.side-bar .widget-tags .tags_cloud_inner a.active,
.side-bar .widget-tags .tags_cloud_inner a:hover,
.listing-grid .btn-view.grid:hover,
.listing-grid .btn-view.grid.active,
.listing-grid .btn-view.list:hover,
.listing-grid .btn-view.list.active,
.list-car-list-1 .box-car-list .content .view-car:hover,
.filter,
.btn-siderbar-mobie-filter:hover,
#wrapper-dashboard #header .tf-btn,
.sidebar-dashboard .db-list-menu ul li a:hover,
.sidebar-dashboard .db-list-menu ul li a.active,
.sidebar-dashboard .db-media-box .list-social li a:hover,
.tfcl-listing-listing .features-images .controller a:hover,
.favorite-listing .controller a:hover,
.tfcl-listing-listing .features-images .controller-2 li a:hover,
.tfcl-listing-listing .features-images .controller-2 li a.active,
.tfcl-pagination a:hover,
.tfcl-pagination .current,
.tfcl-add-listing .upload-media a,
.tfcl-add-listing .thumbnail-media .item a:hover,
.tfcl-add-listing.car-attr .list-attrach .item a:hover,
.group-button-submit .pre-btn,
.group-button-submit .second-btn:hover,
.tfcl_choose_avatar .choose-box button,
.tfcl-message .controller-chat .controll a:hover,
.tfcl-message .controller-chat .form-message a,
#compare_listing_wrap .compare-listing .compare-listing-body .tfcl-compare-listing-button,
#compare_listing_wrap .compare-listing .compare-listing-body .compare-thumb-main .compare-thumb .compare-listing-remove:hover,
.wrap-single-compare .filter-compare li.active,
.wrap-single-compare .filter-compare li:hover,
.search-dealer-list .filter-search a.active,
.search-dealer-list .filter-search a:hover,
.search-dealer-list .search-submit,
.widget-dealer-contact .button-form-1,
.dealer-sidebar .widget-dealer-map .location-link:hover,
.tf-sale-agent-list .list-agent li .btn-agent:hover,
.widget-book-apoint a,
.blog-article-item .images .date,
.blog-article-item.style4 .content .read-more:hover,
.box-car-list .image-group .top .flag-tag,
.tf-icon-box:hover .btn-button,
.tf-icon-box .btn-button:hover,
.tf-image-box.bg-orange,
.tf-image-box.bg-black .find-cars,
.change-heart.style-2 .box-icon:hover,
.tf-team.box .content .icon-box a:hover,
.widget-pricing .badge-table span,
.search .search-submit:hover,
.themesflat-pagination ul li .page-numbers:hover,
.themesflat-pagination ul li .page-numbers.current,
.progress-bars .progress-bars-line>div,
.progress-wrap,
.tf-btn-arrow:hover,
.progress-content,
.face,
.noUi-connect,
label input:checked~.btn-checkbox,
[type=radio]:checked+label:after,
[type=radio]:not(:checked)+label:after {
    color: var(--base-button-text, #14161a);
}


/*====================================================================
  חריגים: רכיבים שהתבנית הופכת לשקופים/לבנים
  הכלל האוטומטי שמעל מתייחס ל-.sc-button כממולא בצבע המותג,
  אבל בכמה מקומות התבנית דורסת את הרקע – ושם הטקסט חייב להיות הפוך.
====================================================================*/

/*--------------------------------------------------------------------
|  כפתור הפעולה בהדר
|--------------------------------------------------------------------
|  ההדר מופיע בשלושה מצבי רקע: שקוף מעל תמונת הירו, כהה כשהוא נדבק
|  לראש העמוד, ולבן בעמודים פנימיים. כפתור מתאר שקוף לא יכול להיות
|  קריא בשלושתם עם צבע טקסט אחד, ולכן הוא מקבל מילוי משלו –
|  הניגודיות שלו אינה תלויה עוד ברקע שמאחוריו.
--------------------------------------------------------------------*/
.header-account .flat-bt-top .sc-button,
.main-header.style2 .header-account .flat-bt-top .sc-button {
    background: var(--base-color);
    border: 1px solid var(--base-color);
}
.header-account .flat-bt-top .sc-button,
.header-account .flat-bt-top .sc-button span,
.main-header.style2 .header-account .flat-bt-top .sc-button,
.main-header.style2 .header-account .flat-bt-top .sc-button span {
    color: var(--base-button-text, #14161a);
}
/* האייקון שבתוך הכפתור צבוע ב-fill, לא ב-color */
.header-account .flat-bt-top .sc-button svg path,
.main-header.style2 .header-account .flat-bt-top .sc-button svg path {
    fill: var(--base-button-text, #14161a);
}
.header-account .flat-bt-top .sc-button:hover {
    background: var(--base-color-dark, var(--c-primary-dark, var(--base-color)));
    border-color: var(--base-color-dark, var(--c-primary-dark, var(--base-color)));
}

/* כפתורי מתאר – רקע שקוף עם מסגרת בצבע המותג */
.sc-button.outline,
.sc-button.style-2,
.slider .flat-bt-top .sc-button {
    color: var(--base-color-text, var(--base-color));
}
.slider .flat-bt-top .sc-button {
    color: var(--base-color-on-dark, var(--base-color));
}


/*====================================================================
  מכלים שממולאים בצבע המותג
  אותו עיקרון כמו האזורים הכהים: מגדירים מחדש את המשתנים במכל,
  וכל הטקסט והקישורים שבתוכו נעשים קריאים מול המילוי.
====================================================================*/
.bg-orange,
.tf-image-box.bg-orange,
.tf-image-box.bg-black,
.widget-bg-orange {
    --link-color:       var(--base-button-text, #14161a);
    --link-hover-color: var(--base-button-text, #14161a);
    --base-color-text:  var(--base-button-text, #14161a);
}
.bg-orange > *,
.tf-image-box.bg-orange .content,
.tf-image-box.bg-orange .content * {
    color: var(--base-button-text, #14161a);
}

/* אך כפתור לבן בתוך אותו מכל חוזר לצבע המותג */
.tf-image-box.bg-orange .find-cars,
.tf-image-box.bg-black .find-cars,
.tf-image-box .find-cars,
/* גם הטקסט שבתוך הכפתור – אחרת הוא יורש את צבע המכל הצבעוני */
.tf-image-box .find-cars *,
.tf-image-box .find-cars span {
    color: var(--base-color-on-light, var(--base-color));
}
.tf-image-box.bg-orange .find-cars,
.tf-image-box.bg-black .find-cars,
.tf-image-box .find-cars {
    background: #ffffff;
}

/*====================================================================
  מילוי בצבע ההדגשה
====================================================================*/
.btn.btn-primary,
.bg-accent,
.badge-accent {
    color: var(--accent-ink, #14161a);
}

/* ב-styles.css ההשהיה מוגדרת עם darken() – פונקציית Sass שאינה CSS תקני,
   ולכן ההצהרה נזרקת והכפתור נעלם בריחוף. מגדירים כאן ריחוף תקין
   שנגזר מצבעי האתר. */
.btn.btn-primary,
a.btn.btn-primary {
    background-color: var(--brand-orange);
    color: var(--accent-ink, #14161a);
    transition: filter .15s ease, background-color .15s ease;
}
.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn.btn-primary:active,
a.btn.btn-primary:hover,
a.btn.btn-primary:focus {
    background-color: var(--brand-orange);
    color: var(--accent-ink, #14161a);
    border-color: var(--brand-orange);
    filter: brightness(.92);
    opacity: 1;
}

/* תגית השנתון: בבסיס ממולאת בצבע המותג, אך בווריאנטים style-1/2
   הרקע הוא שחור שקוף – ושם הטקסט חייב להישאר לבן */
.box-car-list .image-group .top .flag-tag.style-1,
.box-car-list .image-group .top .flag-tag.style-2,
.flag-tag.style-1,
.flag-tag.style-2 {
    color: #ffffff;
}

/*====================================================================
  עמוד תוכן – פריסה בהירה ואוורירית
  לבן, מרווח נדיב, קווי הפרדה דקים וטיפוגרפיה גדולה.
  צבע המותג משמש כמבטא בלבד ומגיע מהגדרות האתר.
====================================================================*/
.pg { max-width: 1060px; margin: 0 auto; padding: 0 20px; color: #1b1b1f; }

.pg-hero { text-align: center; padding: clamp(46px,7vw,92px) 0 clamp(34px,5vw,58px); }
.pg-brand { font-size: 12px; letter-spacing: .34em; color: #6a6a73; margin: 0 0 20px; }
.pg-hero h1 { font-size: clamp(30px,5.2vw,58px); line-height: 1.14; font-weight: 700; margin: 0 auto 22px; max-width: 15ch; }
.pg-lead { font-size: clamp(17px,2vw,21px); line-height: 1.7; color: #6a6a73; margin: 0 auto; max-width: 42ch; }

.pg-sec { padding: clamp(38px,5vw,68px) 0; border-top: 1px solid #ececf0; }
.pg-sec h2 { font-size: clamp(21px,2.8vw,31px); line-height: 1.32; font-weight: 700; margin: 0 0 20px; max-width: 26ch; }
.pg-sec p { font-size: 17px; line-height: 2.05; color: #4a4a54; margin: 0 0 15px; max-width: 64ch; }

.pg-sec--img { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.78fr); gap: clamp(26px,4vw,56px); align-items: center; }
.pg-sec--img.pg-sec--flip { direction: ltr; }
.pg-sec--img.pg-sec--flip > * { direction: rtl; }
.pg-fig { margin: 0; }
.pg-fig img { width: 100%; display: block; aspect-ratio: 5/4; object-fit: cover; border-radius: 3px; }

.pg-pull { font-size: clamp(18px,2.2vw,23px) !important; line-height: 1.7 !important; color: #1b1b1f !important; font-weight: 500; margin-top: 26px !important; padding-inline-start: 20px; border-inline-start: 2px solid var(--base-color); }

.pg-partners { display: flex; flex-wrap: wrap; gap: 10px 34px; margin-top: 30px; padding-top: 26px; border-top: 1px solid #ececf0; }
.pg-partners span { font-size: clamp(17px,2vw,22px); font-weight: 600; letter-spacing: .03em; }
.pg-partners span.soft { color: #6a6a73; font-weight: 400; }

.pg-steps { display: grid; grid-template-columns: repeat(auto-fit,minmax(160px,1fr)); gap: 0; margin-top: 30px; }
.pg-steps div { padding: 20px 0; border-top: 1px solid #ececf0; padding-inline-end: 18px; }
.pg-steps em { display: block; font-style: normal; font-size: 12px; letter-spacing: .2em; color: var(--base-color-on-light, var(--base-color)); margin-bottom: 9px; }
.pg-steps span { font-size: 18px; font-weight: 600; }

.pg-quote { margin: 32px 0 0; padding: 0; border: 0; font-size: clamp(19px,2.5vw,27px); line-height: 1.62; font-weight: 500; max-width: 42ch; }

.pg-end { text-align: center; padding: clamp(46px,6vw,80px) 0 clamp(30px,4vw,46px); border-top: 1px solid #ececf0; }
.pg-end h2 { font-size: clamp(24px,3.2vw,36px); margin: 0 0 12px; }
.pg-end p { color: #6a6a73; font-size: 17px; margin: 0 auto 30px; max-width: 44ch; }
.pg-cta { display: flex; gap: 22px; justify-content: center; align-items: center; flex-wrap: wrap; }
.pg-btn { background: var(--base-color); color: var(--base-button-text,#14161a); padding: 15px 38px; font-weight: 600; font-size: 16px; border-radius: 2px; }
.pg-link { font-weight: 600; font-size: 16px; color: #1b1b1f; border-bottom: 1px solid var(--base-color); padding-bottom: 3px; }

.pg-legal { font-size: 12.5px; line-height: 1.85; color: #6a6a73; border-top: 1px solid #ececf0; padding-top: 20px; margin: 0 0 30px; }

/*====================================================================
  ספרות בפונט קריא
  Ploni מיועד לעברית והספרות שלו צרות ולא אחידות. במקום לשנות עשרות
  כללים, מגדירים מחדש את אותה משפחת פונט עבור טווח הספרות בלבד:
  הדפדפן בוחר את ההגדרה האחרונה שמכסה את התו, ולכן כל מספר באתר –
  מחיר, שנה, ק״מ, טלפון, עימוד – מוצג בפונט המערכת, וכל השאר בעברית.
====================================================================*/
@font-face {
    font-family: "Ploni_r";
    src: local("Arial"), local("Helvetica Neue"), local("Segoe UI"),
         local("Roboto"), local("Noto Sans");
    unicode-range: U+0030-0039, U+002C, U+002E;   /* ספרות, פסיק ונקודה */
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: "Ploni_b";
    src: local("Arial Bold"), local("Arial"), local("Helvetica Neue"),
         local("Segoe UI"), local("Roboto");
    unicode-range: U+0030-0039, U+002C, U+002E;
    font-weight: 700;
    font-display: swap;
}

/* לוגו הסוכנות בעמוד הרכב – משבצת עגולה בגודל קבוע.
   הלוגו רחב, ולכן contain ולא cover, כדי שלא ייחתך. */
.prolile-info .image {
    display: flex; align-items: center; justify-content: center;
    background: #fff; border: 1px solid #ececf0;
}
.prolile-info .image img {
    width: 100%; height: 100%;
    object-fit: contain; padding: 10px;
}

/* בכרטיס הרכב מוצג ההחזר החודשי; הסכום בולט והמלל סביבו משני */
.box-car-list .content .money { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.box-car-list .content .money .money-label,
.box-car-list .content .money .money-per {
    font-size: 13px; font-weight: 500; color: #6a6a73;
}
.box-car-list .content .money .money-amt {
    font-size: 20px; font-weight: 700;
    color: var(--base-color-on-light, var(--base-color));
}

/*--------------------------------------------------------------
|  לוגו בכותרת – גודל מבוקר
|  בתבנית יש width:180px מתחת ל-1024px, ולכן בנייד מאפסים את
|  הרוחב הקבוע ומגבילים בגובה, אחרת הלוגו היה נמתח.
--------------------------------------------------------------*/
.main-header .logo-box .logo img {
    max-width: 80px;
    width: auto;
    height: auto;
}

@media (max-width: 991px) {
    .main-header .logo-box .logo img {
        max-width: none;
        width: auto;
        max-height: 50px;
        height: auto;
    }
}

/*--------------------------------------------------------------
|  גלריה בכרטיס הרכב – נקודות במעבר עכבר, דפדוף ידני בתמונות
--------------------------------------------------------------*/
/* התמונות מוערמות זו על זו ומתחלפות בשקיפות.
   קודם ההחלפה נעשתה ב-display, מה שגרם לקפיצת גובה (הבהוב) כשהתמונה
   הבאה עוד לא נטענה – והריחוף אבד, ולכן גם החצים נראו כאילו אינם עובדים. */
.card-gal { position: relative; }
.card-gal > a {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.card-gal .card-gal-img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .28s ease;
}
.card-gal .card-gal-img.is-on { opacity: 1; }

/* בתצוגת רשימה התמונה ממלאת את גובה הכרטיס במקום יחס קבוע */
.list-car-list-1:not(.list-car-grid-1) .card-gal > a {
    aspect-ratio: auto;
    height: 100%;
}

/* התבנית משחירה את התמונה בריחוף (rgba(0,0,0,.6)) – מכבים בכרטיסי הרכב
   כדי שהתמונה תישאר נקייה והחיצים יהיו קריאים מעליה */
.box-car-list.hv-one:hover .img-style::before { opacity: 0; }

/* חיצי דפדוף – מופיעים בריחוף, מחוץ לקישור כדי שלא ינווטו */
.card-gal-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
    width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 19px; line-height: 1; cursor: pointer;
    background: rgba(20, 22, 26, .55); color: #fff;
    opacity: 0; transition: opacity .18s ease, background .15s ease;
    pointer-events: none;
}
.card-gal:hover .card-gal-arrow,
.card-gal:focus-within .card-gal-arrow { opacity: 1; pointer-events: auto; }
.card-gal-arrow:hover { background: rgba(20, 22, 26, .85); }
.card-gal-arrow.prev { inset-inline-start: 8px; }
.card-gal-arrow.next { inset-inline-end: 8px; }

@media (hover: none) {
    .card-gal-arrow { opacity: 1; pointer-events: auto; }
}

.card-gal-dots {
    position: absolute; inset-inline: 0; bottom: 10px; z-index: 3;
    display: flex; justify-content: center; align-items: center; gap: 6px;
    padding: 0 10px;
    opacity: 0; transition: opacity .18s ease;
    pointer-events: none;
}
.card-gal:hover .card-gal-dots,
.card-gal:focus-within .card-gal-dots { opacity: 1; pointer-events: auto; }

.card-gal-dots button {
    width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
    cursor: pointer; background: rgba(255, 255, 255, .6);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .28);
    transition: width .18s ease, background .18s ease;
}
.card-gal-dots button:hover { background: #fff; }
.card-gal-dots button.is-on {
    width: 20px; border-radius: 100px;
    background: var(--base-color);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .2);
}

/* במסכי מגע אין ריחוף – הנקודות תמיד גלויות */
@media (hover: none) {
    .card-gal-dots { opacity: 1; pointer-events: auto; }
}

/* כפתור החיפוש בדף הבית – ברוחב מלא גם בנייד.
   ב-styles.css יש כלל שמצמצם אותו ל-auto, ולכן נדרש !important כאן. */
@media (max-width: 767.98px) {
    #search-cars-btn {
        width: 100% !important;
        margin: 0 !important;
    }
}

/* כפתור הסינון בסרגל הצד – מתחת לכל השדות, ברוחב מלא */
.form-filter-sidebar .filter-action { width: 100%; }
.form-filter-sidebar .filter-submit {
    width: 100%;
    border: none;
    justify-content: center;
    text-align: center;
}

/* בעמוד הרכב: בלוק התיאור כולו מוסתר לבקשת הלקוח.
   התוכן נשאר ב-HTML עבור מנועי החיפוש, רק לא מוצג לגולש. */
.listing-description.mb-40 { display: none; }

/* שורת "פרטים נוספים" בתחתית הכרטיס – ברוחב מלא.
   ‎.content הוא flex עם flex-direction: column, ולכן אסור להגדיר כאן
   flex-basis באחוזים: הוא נמדד על הגובה ודוחף את הכפתור לעמודה חדשה
   שיוצאת מחוץ לכרטיס. הרוחב נקבע בציר המשני בלבד. */
.box-car-list .content .days-box,
.list-car-list-1 .box-car-list .content .days-box {
    width: 100%;
    max-width: 100%;
    flex: 0 0 auto;
    box-sizing: border-box;
}
.box-car-list .content .days-box .view-car {
    flex: 1 1 auto;
    text-align: center;
    justify-content: center;
    min-width: 0;
}

/*--------------------------------------------------------------
|  תצוגת רשימה במסך המלאי
|  במקור ‎.content היה flex בשורה אחת ללא גלישה, ולכן הכותרת נדחסה
|  לרוחב של כמה פיקסלים והכפתור נדחף אל מחוץ לכרטיס. כאן פריסה
|  מסודרת: פרטי הרכב מימין, מחיר וכפתור בעמודה נפרדת.
--------------------------------------------------------------*/
.list-car-list-1:not(.list-car-grid-1) .box-car-list {
    align-items: stretch;
}
.list-car-list-1:not(.list-car-grid-1) .box-car-list .image-group {
    flex: 0 0 clamp(210px, 26%, 300px);
    align-self: stretch;
}
.list-car-list-1:not(.list-car-grid-1) .box-car-list .image-group .img-style,
.list-car-list-1:not(.list-car-grid-1) .box-car-list .image-group .img-style img {
    height: 100%;
    object-fit: cover;
}

.list-car-list-1:not(.list-car-grid-1) .box-car-list .content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-content: center;
    column-gap: 26px;
    row-gap: 6px;
    padding: 24px !important;
}
.list-car-list-1:not(.list-car-grid-1) .box-car-list .content .text-address {
    grid-column: 1; grid-row: 1;
}
.list-car-list-1:not(.list-car-grid-1) .box-car-list .content .link-style-1 {
    grid-column: 1; grid-row: 2;
}
.list-car-list-1:not(.list-car-grid-1) .box-car-list .content .icon-box {
    grid-column: 1; grid-row: 3;
    gap: 8px 18px;
    margin-top: 4px;
}
.list-car-list-1:not(.list-car-grid-1) .box-car-list .content .money {
    grid-column: 2; grid-row: 1 / span 2;
    align-self: center;
    margin-bottom: 0;
    white-space: nowrap;
}
.list-car-list-1:not(.list-car-grid-1) .box-car-list .content .days-box {
    grid-column: 2; grid-row: 3;
    width: 100%;
    min-width: 190px;
    justify-content: stretch;
}
.list-car-list-1:not(.list-car-grid-1) .box-car-list .content .view-car {
    width: 100%;
    padding: 11px 20px;
}

/* בנייד תצוגת הרשימה נערמת: תמונה למעלה, פרטים מתחת */
@media (max-width: 767px) {
    .list-car-list-1:not(.list-car-grid-1) .box-car-list { flex-wrap: wrap; }
    .list-car-list-1:not(.list-car-grid-1) .box-car-list .image-group { flex: 1 1 100%; }
    .list-car-list-1:not(.list-car-grid-1) .box-car-list .content {
        grid-template-columns: minmax(0, 1fr);
        padding: 18px !important;
    }
    .list-car-list-1:not(.list-car-grid-1) .box-car-list .content .money,
    .list-car-list-1:not(.list-car-grid-1) .box-car-list .content .days-box {
        grid-column: 1;
        grid-row: auto;
    }
}

/*--------------------------------------------------------------
|  סינון בנייד – מגירה נשלפת (off-canvas)
|  הטופס נשאר אותו טופס; רק מיקומו משתנה, כך שכל הסינון הקיים
|  ממשיך לעבוד בלי כפילות שדות או מזהים.
--------------------------------------------------------------*/
.btn-filter-mobile { display: none; }
.filters-head { display: none; }
.filters-backdrop { display: none; }

@media (max-width: 991px) {
    .btn-filter-mobile {
        display: inline-flex; align-items: center; gap: 7px;
        border: 1px solid var(--base-color); border-radius: 10px;
        background: var(--base-color); color: var(--base-button-text, #14161a);
        font-size: 14px; font-weight: 600; line-height: 1;
        padding: 10px 16px; cursor: pointer; white-space: nowrap;
    }

    .filters-backdrop {
        display: block; position: fixed; inset: 0; z-index: 1040;
        background: rgba(0, 0, 0, .45);
        opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility .22s;
    }

    /* התבנית מסתירה את סרגל הסינון במסך צר (display:none);
       כאן הוא חוזר – אך כמגירה נשלפת ולא כעמודה בתוך העמוד */
    .sidebar-right-listing,
    .sidebar-right-listing.style-2 {
        display: block;
        position: fixed; top: 0; bottom: 0; right: 0; z-index: 1050;
        width: min(92vw, 380px);
        max-width: min(92vw, 380px);
        border: 0; border-radius: 0;
        background: #fff;
        overflow-y: auto; -webkit-overflow-scrolling: touch;
        padding: 0 16px 24px;
        transform: translateX(100%);
        transition: transform .25s ease;
        box-shadow: 0 0 34px rgba(0, 0, 0, .22);
    }

    .filters-head {
        display: flex; align-items: center; justify-content: space-between;
        position: sticky; top: 0; z-index: 2;
        background: #fff; padding: 14px 0 12px; margin-bottom: 6px;
        border-bottom: 1px solid #ececf0;
        font-weight: 700; font-size: 16px;
    }
    .filters-close {
        border: 0; background: transparent; font-size: 26px; line-height: 1;
        cursor: pointer; color: #1b1b1f; padding: 0 6px;
    }

    /* מצב פתוח */
    body.filters-open { overflow: hidden; }
    /* !important כדי לגבור על כללי התבנית שמתנגשים בטרנספורם */
    body.filters-open .sidebar-right-listing,
    body.filters-open .sidebar-right-listing.style-2 {
        transform: translateX(0) !important;
    }
    body.filters-open .filters-backdrop { opacity: 1; visibility: visible; }

    /* הכותרת הגדולה מיותרת בתוך המגירה */
    .sidebar-right-listing .heading-filter { display: none; }
}

/*--------------------------------------------------------------
|  מסך המלאי בנייד – הלשוניות ומתג התצוגה בשורה אחת
--------------------------------------------------------------*/
@media (max-width: 767px) {
    .box-tab.flex-two {
        flex-wrap: nowrap !important;
        align-items: center;
        gap: 10px !important;
    }
    .box-tab .menu-tab {
        flex: 1 1 auto;
        min-width: 0;
        gap: 6px;
        overflow-x: auto;           /* אם אין מקום – גלילה, בלי לשבור שורה */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .box-tab .menu-tab::-webkit-scrollbar { display: none; }
    .box-tab .menu-tab .item-title { flex: 0 0 auto; }
    .box-tab .menu-tab .tab-switch {
        white-space: nowrap;
        padding-inline: 14px;
        font-size: 13px;
    }
    .box-tab .wd-find-select { flex: 0 0 auto; margin-inline-start: auto; }
}

/*--------------------------------------------------------------
|  עימוד – ריווח נוח ללחיצה וצבע טקסט מנוגד על העמוד הפעיל
--------------------------------------------------------------*/
.themesflat-pagination ul {
    display: flex; flex-wrap: wrap; justify-content: center;
    align-items: center; gap: 8px; padding: 0; margin: 0;
}
.themesflat-pagination ul li { margin: 0; }

.themesflat-pagination ul li .page-numbers {
    min-width: 44px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    background: #fff;
}
/* ברירת המחדל של התבנית היא טקסט לבן, שנעלם על מותג בהיר */
.themesflat-pagination ul li .page-numbers:hover,
.themesflat-pagination ul li .page-numbers.current {
    background-color: var(--base-color);
    color: var(--base-button-text, #fff);
    border-color: var(--base-color);
}
.themesflat-pagination .dots {
    display: inline-block; min-width: 24px; text-align: center;
    color: #9a9aa2; font-weight: 600; letter-spacing: .06em;
}

@media (max-width: 575px) {
    .themesflat-pagination ul li .page-numbers {
        min-width: 38px; width: 38px; height: 38px; line-height: 38px; font-size: 15px;
    }
}

/*--------------------------------------------------------------
|  רשימות בחירה ארוכות (יצרן, דגם, סוג)
|  עם 18 יצרנים הרשימה נפתחה לכל אורך העמוד; כאן היא מוגבלת בגובה
|  ונגללת בתוך עצמה, עם פס גלילה בצבעי האתר.
--------------------------------------------------------------*/
.nice-select .list {
    max-height: min(320px, 52vh);
    overflow-y: auto;
    overflow-x: hidden;
    /* מונע מהגלילה "לדלוף" לעמוד כשמגיעים לסוף הרשימה */
    overscroll-behavior: contain;
    /* הפריטים עצמם ממולאים בצבע המותג, ולכן הידית צבועה בצבע הטקסט
       שמחושב כקריא מעל אותו מילוי – כך היא בולטת בכל ערכת צבעים */
    scrollbar-width: thin;
    scrollbar-color: var(--base-button-text, #fff) rgba(0, 0, 0, .18);
}
.nice-select .list::-webkit-scrollbar { width: 9px; }
.nice-select .list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, .18);
}
.nice-select .list::-webkit-scrollbar-thumb {
    background: var(--base-button-text, #fff);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
    opacity: .9;
}
.nice-select .list::-webkit-scrollbar-thumb:hover {
    background: var(--base-button-text, #fff);
    background-clip: padding-box;
    border-width: 1px;
}

/*--------------------------------------------------------------
|  גלריית הרכב – אותה פריסה, עם גלילה והחלקה לכל התמונות
|  במקור הוצגו שש תמונות בלבד והשאר הוסתרו ב-CSS. כאן כולן מוצגות
|  באותו גודל בדיוק, והשורה עצמה נגללת ימינה ושמאלה.
--------------------------------------------------------------*/
.car-gallery-scroll { position: relative; }

.car-gallery-scroll .tfcl-listing-info.style-grid {
    overflow-x: auto;
    overflow-y: hidden;
    /* האנימציה מנוהלת ב-JS; scroll-behavior: smooth היה מתנגש איתה */
    scroll-snap-type: x proximity;
    scrollbar-width: none;              /* פיירפוקס */
    -ms-overflow-style: none;
    overscroll-behavior-x: contain;
}
.car-gallery-scroll .tfcl-listing-info.style-grid::-webkit-scrollbar { display: none; }

/* הרוחב זהה לחישוב המקורי: חמש תמונות ברוחב 1 ואחת ברוחב 3.7 */
.car-gallery-scroll .tfcl-listing-info.style-grid .image-list-details {
    display: block;
    flex: 0 0 auto;
    width: calc((100% - 50px) / 8.7);
    scroll-snap-align: start;
}
.car-gallery-scroll .tfcl-listing-info.style-grid .image-list-details.active {
    width: calc((100% - 50px) / 8.7 * 3.7);
}

/* חיצי ניווט – מופיעים מעל השורה, מוסתרים בנייד שבו מחליקים באצבע */
.car-gallery-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
    width: 44px; height: 44px; border: 0; border-radius: 50%;
    background: rgba(20,22,26,.55); color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; line-height: 1; transition: background .15s, opacity .15s;
}
.car-gallery-arrow:hover { background: rgba(20,22,26,.85); }
.car-gallery-arrow[disabled] { opacity: .25; cursor: default; }
.car-gallery-arrow.prev { inset-inline-start: 10px; }
.car-gallery-arrow.next { inset-inline-end: 10px; }

.car-gallery-count {
    position: absolute; inset-inline-end: 14px; bottom: 14px; z-index: 6;
    background: rgba(20,22,26,.6); color: #fff; font-size: 13px; font-weight: 600;
    padding: 5px 12px; border-radius: 100px; letter-spacing: .04em;
}

@media (max-width: 991px) {
    /* במסך צר התמונות נשארות בגודל נוח ומחליקים ביניהן */
    .car-gallery-scroll .tfcl-listing-info.style-grid .image-list-details,
    .car-gallery-scroll .tfcl-listing-info.style-grid .image-list-details.active {
        width: 78%;
    }
    .car-gallery-arrow { display: none; }
}

/*--------------------------------------------------------------
|  עמוד שירות VIP – ייבוא אישי והזמנות מיוחדות
--------------------------------------------------------------*/
.pg-kicker { font-size: clamp(12px,1.5vw,14px); letter-spacing: .2em; color: #6a6a73; margin: 0 0 24px; }

/* שם המותג באותיות לועזיות: בלי ריווח הנקודה שבין T ל-A נבלעת בין האותיות */
.pg-wordmark { letter-spacing: .18em; }

/* רשימת אפשרויות מפרט – תגיות קריאות במקום משפט ארוך */
.pg-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.pg-chips li { list-style: none; margin: 0; font-size: 15px; line-height: 1.5; color: #1b1b1f;
               border: 1px solid #e2e2e9; border-radius: 100px; padding: 9px 18px; }

/* שמות מותגים ובתי שדרוג */
.pg-marks { display: flex; flex-wrap: wrap; gap: 12px 30px; margin: 28px 0 0; padding: 26px 0 0;
            border-top: 1px solid #ececf0; list-style: none; }
.pg-marks li { list-style: none; margin: 0; font-size: clamp(15px,1.9vw,20px); font-weight: 600;
               letter-spacing: .04em; color: #1b1b1f; }

/* רשימת יתרונות עם סימני וי – פריט בשורה, קריא גם ברשימה ארוכה */
.pg-checks { margin: 26px 0 0; padding: 0; list-style: none;
             display: grid; gap: 12px 34px; grid-template-columns: repeat(auto-fit,minmax(270px,1fr)); }
.pg-art .pg-checks, .pg-art .pg-checks li { list-style: none; }
.pg-checks li { list-style: none; margin: 0; position: relative;
                padding-inline-start: 30px; line-height: 1.6;
                font-size: clamp(15px,1.7vw,18px); color: #1b1b1f; }
.pg-checks li::before { content: "✔"; position: absolute; inset-inline-start: 0; top: 0;
                        color: var(--base-color); font-size: .95em; line-height: 1.7; }

/* משפט מפתח – גדול, בלי מרכאות */
.pg-statement { font-size: clamp(18px,2.3vw,25px) !important; line-height: 1.6 !important;
                font-weight: 500; color: #1b1b1f !important; margin: 26px 0 0 !important; max-width: 38ch; }

/* חתימת המותג בסוף העמוד */
.pg-lockup { margin: 0 0 10px; }
.pg-lockup b { display: block; font-size: clamp(22px,3vw,32px); font-weight: 700; letter-spacing: .18em; color: #1b1b1f; }
.pg-lockup span { display: block; font-size: 12.5px; letter-spacing: .16em; color: #6a6a73; margin-top: 12px; }

/*--------------------------------------------------------------
|  מסמך משפטי – תקנון ומדיניות פרטיות
|  עמודה צרה לקריאה נוחה, תוכן עניינים וסעיפים ממוספרים.
--------------------------------------------------------------*/
.pg-doc { max-width: 780px; margin: 0 auto; }
.pg-meta { font-size: 13px; letter-spacing: .1em; color: #6a6a73; margin: 0; }
.pg-intro { font-size: 17px; line-height: 2; color: #4a4a54; margin: 0 0 8px; }

.pg-toc { border: 1px solid #ececf0; border-radius: 3px; padding: clamp(20px,3vw,26px); margin: 36px 0 0; }
.pg-toc h2 { font-size: 13px; letter-spacing: .14em; font-weight: 600; color: #6a6a73; margin: 0 0 16px; }
.pg-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc;
             display: grid; grid-template-columns: repeat(auto-fit,minmax(215px,1fr)); gap: 10px 26px; }
.pg-toc li { counter-increment: toc; font-size: 15px; line-height: 1.5; }
.pg-toc a { color: #1b1b1f; border-bottom: 1px solid transparent; }
.pg-toc a::before { content: counter(toc) ". "; font-weight: 600; color: var(--base-color-on-light, var(--base-color)); }
.pg-toc a:hover { border-bottom-color: var(--base-color-on-light, var(--base-color)); }

.pg-art { padding: clamp(28px,4vw,38px) 0; border-top: 1px solid #ececf0; scroll-margin-top: 96px; }
.pg-art h2 { font-size: clamp(19px,2.4vw,25px); line-height: 1.35; font-weight: 700; margin: 0 0 16px; }
.pg-art h2 em { font-style: normal; font-size: .62em; font-weight: 600; letter-spacing: .06em;
                color: var(--base-color-on-light, var(--base-color)); margin-inline-end: 10px; }
.pg-art p { font-size: 16px; line-height: 1.95; color: #4a4a54; margin: 0 0 13px; }
.pg-art ul { margin: 0 0 13px; padding-inline-start: 19px; list-style: disc outside; }
/* התבנית מאפסת list-style על li עצמו, ולכן מחזירים אותו כאן במפורש */
.pg-art li { font-size: 16px; line-height: 1.95; color: #4a4a54; margin-bottom: 9px;
             list-style: disc outside; }
.pg-art li::marker { color: var(--base-color-on-light, var(--base-color)); }
.pg-art ul.pg-contact, .pg-art ul.pg-contact li { list-style: none; }
.pg-art ul.pg-contact { padding-inline-start: 0; }

/* פרטי קשר בתוך המסמך */
.pg-contact { list-style: none; margin: 0; padding: 0; }
.pg-contact li { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.pg-contact b { min-width: 74px; font-weight: 600; color: #1b1b1f; }

/* שדה שממתין להשלמה לפני פרסום – בולט בכוונה */
.pg-fill { background: #fff4d1; border-bottom: 1px dashed #9a7b00; border-radius: 2px;
           padding: 1px 6px; font-size: .93em; color: #5c4900; }

.pg-basis { font-size: 13.5px; line-height: 1.9; color: #6a6a73;
            border-top: 1px solid #ececf0; padding-top: 22px; margin: 0 0 8px; }

/* רצועת נתונים – מספרים קצרים מתחת לכותרת העמוד */
.pg-stats { display: grid; grid-template-columns: repeat(auto-fit,minmax(170px,1fr)); border-top: 1px solid #ececf0; border-bottom: 1px solid #ececf0; }
.pg-stats div { padding: clamp(22px,3vw,32px) 12px; text-align: center; }
.pg-stats b { display: block; font-size: clamp(26px,3.6vw,40px); font-weight: 700; line-height: 1.1; color: #1b1b1f; }
.pg-stats span { display: block; font-size: 13px; letter-spacing: .1em; color: #6a6a73; margin-top: 9px; }

@media (max-width: 860px) {
  .pg-sec--img, .pg-sec--img.pg-sec--flip { grid-template-columns: 1fr; direction: rtl; }
  .pg-fig { order: -1; margin-bottom: 20px; }
}

/*--------------------------------------------------------------------
|  TAN TRADE MOTORS – עיצוב ייעודי לעמוד מחלקת הטרייד
|  נפרד מ-.pg כדי שהעמוד יקבל מראה משלו ולא ייראה כמו שאר עמודי התוכן.
--------------------------------------------------------------------*/
.tt { --tt-ink: #14161a; --tt-gold: var(--base-color, #cfa717); }
.tt * { box-sizing: border-box; }

/* — כותרת ראשית על רקע כהה — */
.tt-hero { background: var(--tt-ink); color: #fff; text-align: center;
           padding: clamp(54px,8vw,96px) 20px clamp(46px,6vw,72px); }
.tt-hero h1 { margin: 0; color: var(--tt-gold); font-weight: 700;
              font-size: clamp(30px,6vw,60px); line-height: 1.12; letter-spacing: .12em; }
.tt-hero .tt-sub { margin: 18px auto 0; max-width: 46ch; color: #d7d7db;
                   font-size: clamp(15px,2vw,20px); line-height: 1.6; }
.tt-hero .tt-tags { margin-top: 26px; }

/* — תגיות קטגוריה — */
.tt-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px;
           margin: 0; padding: 0; list-style: none; }
.tt-tags li { list-style: none; margin: 0; font-size: 14px; line-height: 1.4;
              padding: 8px 16px; border-radius: 100px;
              border: 1px solid rgba(255,255,255,.28); color: #e9e9ee; }
.tt-tags--light li { border-color: #e2e2e9; color: #3a3a42; }

/* — כפתורים — */
.tt-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.tt-btn { display: inline-flex; align-items: center; gap: 9px; text-decoration: none;
          padding: 14px 26px; border-radius: 6px; font-weight: 600; font-size: 16px;
          border: 1px solid transparent; transition: filter .2s, background .2s, color .2s; }
.tt-btn--gold { background: var(--tt-gold); color: var(--base-button-text, #14161a); }
.tt-btn--gold:hover { filter: brightness(.92); color: var(--base-button-text, #14161a); }
.tt-btn--ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.tt-btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.tt-btn--dark { background: var(--tt-ink); color: #fff; }
.tt-btn--dark:hover { filter: brightness(1.25); color: #fff; }
.tt-btn svg { flex: 0 0 auto; }

/* — מעטפת תוכן — */
.tt-wrap { max-width: 1060px; margin: 0 auto; padding: clamp(44px,6vw,76px) 20px; }
.tt-wrap h2 { margin: 0 0 16px; font-size: clamp(22px,3.2vw,34px); line-height: 1.25; color: var(--tt-ink); }
.tt-wrap p { margin: 0 0 14px; font-size: clamp(15px,1.7vw,18px); line-height: 1.75; color: #45454f; }
.tt-lede { max-width: 62ch; }

/* — רצועת המחיר — */
.tt-price { background: var(--c-primary-soft, #f9f4e3); text-align: center;
            padding: clamp(30px,4vw,46px) 20px; }
.tt-price b { display: block; font-size: clamp(30px,5.5vw,54px); font-weight: 700;
              line-height: 1.1; color: var(--tt-ink); }
.tt-price span { display: block; margin-top: 10px; font-size: 14px;
                 letter-spacing: .09em; color: #6a6a73; }

/* — רשת כרטיסים — */
.tt-grid { display: grid; gap: 16px; margin-top: 28px;
           grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); }
.tt-card { border: 1px solid #e6e6ec; border-radius: 10px; padding: 24px 22px; background: #fff; }
.tt-card b { display: block; margin-bottom: 7px; font-size: 17px; color: var(--tt-ink); }
.tt-card span { display: block; font-size: 15px; line-height: 1.65; color: #5c5c66; }
.tt-card .tt-tick { display: inline-flex; align-items: center; justify-content: center;
                    width: 30px; height: 30px; margin-bottom: 13px; border-radius: 50%;
                    background: var(--c-primary-soft, #f9f4e3); color: var(--tt-gold);
                    font-size: 15px; }

/* — רצועת אינסטגרם — */
.tt-ig { background: var(--tt-ink); color: #fff; text-align: center;
         padding: clamp(44px,6vw,72px) 20px; }
.tt-ig h2 { margin: 0 0 12px; color: #fff; font-size: clamp(21px,3vw,31px); }
.tt-ig p { margin: 0 auto; max-width: 52ch; color: #d7d7db; font-size: 16px; line-height: 1.7; }
.tt-ig .tt-handle { display: block; margin-top: 8px; color: var(--tt-gold); font-weight: 600; }

/* — טלפונים — */
.tt-phones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; padding: 0; list-style: none; }
.tt-phones li { list-style: none; margin: 0; }
.tt-phones a { display: inline-flex; align-items: center; gap: 9px; text-decoration: none;
               padding: 13px 22px; border: 1px solid #e0e0e8; border-radius: 6px;
               font-size: 17px; font-weight: 600; color: var(--tt-ink); background: #fff;
               transition: border-color .2s, background .2s; }
.tt-phones a:hover { border-color: var(--tt-gold); background: var(--c-primary-soft, #f9f4e3);
                     color: var(--tt-ink); }

/* — הערה משפטית — */
.tt-legal { max-width: 1060px; margin: 0 auto; padding: 0 20px clamp(40px,5vw,64px);
            font-size: 13px; line-height: 1.75; color: #85858f; }

@media (max-width: 600px) {
  .tt-cta { flex-direction: column; }
  .tt-cta .tt-btn { justify-content: center; width: 100%; }
  .tt-phones { flex-direction: column; }
  .tt-phones a { justify-content: center; width: 100%; }
}

/*--------------------------------------------------------------------
|  מסך תודה – מוצג אחרי שליחת טופס במקום חלונית קופצת
|  משותף לכל הטפסים באתר (יצירת קשר, השארת פרטים, בקשת מימון).
--------------------------------------------------------------------*/
.tnx { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center;
       justify-content: center; padding: 28px 22px; background: #fff;
       text-align: center; direction: rtl;
       overflow-y: auto; -webkit-overflow-scrolling: touch;
       animation: tnx-in .28s ease both; }
.tnx[hidden] { display: none !important; }

@keyframes tnx-in  { from { opacity: 0; } to { opacity: 1; } }
@keyframes tnx-pop { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.tnx-inner { width: 100%; max-width: 560px; margin: auto; animation: tnx-pop .4s .06s ease both; }

.tnx-logo { display: block; max-width: 190px; max-height: 88px; width: auto; height: auto;
            margin: 0 auto clamp(24px,4vw,38px); object-fit: contain; }

.tnx-mark { display: flex; align-items: center; justify-content: center;
            width: 74px; height: 74px; margin: 0 auto 24px; border-radius: 50%;
            background: var(--c-primary-soft, #f9f4e3); color: var(--base-color, #cfa717); }
.tnx-mark svg { width: 34px; height: 34px; }

.tnx h2 { margin: 0 0 14px; font-size: clamp(24px,4.4vw,38px); line-height: 1.25;
          font-weight: 700; color: #14161a; }
.tnx p  { margin: 0 auto; max-width: 42ch; font-size: clamp(15px,2vw,18px);
          line-height: 1.75; color: #52525c; }

.tnx-phones { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
              margin: 26px 0 0; padding: 0; list-style: none; }
.tnx-phones li { list-style: none; margin: 0; }
.tnx-phones a { display: inline-block; padding: 10px 18px; border-radius: 6px;
                border: 1px solid #e2e2e9; font-weight: 600; font-size: 16px;
                color: #14161a; text-decoration: none; }
.tnx-phones a:hover { border-color: var(--base-color, #cfa717);
                      background: var(--c-primary-soft, #f9f4e3); color: #14161a; }

.tnx-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
               margin-top: clamp(26px,4vw,36px); }
.tnx-btn { display: inline-flex; align-items: center; justify-content: center;
           padding: 13px 28px; border-radius: 6px; border: 1px solid transparent;
           font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
           font-family: inherit; transition: filter .2s, background .2s; }
.tnx-btn--gold  { background: var(--base-color, #cfa717); color: var(--base-button-text, #14161a); }
.tnx-btn--gold:hover { filter: brightness(.92); color: var(--base-button-text, #14161a); }
.tnx-btn--plain { border-color: #dcdce4; color: #14161a; background: #fff; }
.tnx-btn--plain:hover { background: #f6f6f8; color: #14161a; }

/* נעילת גלילת הרקע כל עוד מסך התודה פתוח */
body.tnx-open { overflow: hidden; }

@media (max-width: 600px) {
  .tnx-actions { flex-direction: column; }
  .tnx-actions .tnx-btn { width: 100%; }
}
