/* מראה ה-CRM לאתר - 2.16.0. האתר בהיר, בשפת מסכי העבודה של ה-CRM (I:\CRM\crm-design),
   בצבעי הלוגו: ירוק במקום הכחול, זהב במקום הציאן. עיצוב האורורה נשאר רק במיילים.
   משטח #f3f5f9, כרטיסים לבנים, פינות 14, צל כמעט בלתי נראה, כפתור ראשי בגרדיאנט עם הילה,
   שדות ותגיות כמו ב-CRM, Assistant לטקסט ו-Secular One לכותרות.
   כל הכללים תחת body.sa-crm. נטען אחרי glass-v2.css. כיבוי: define('SA_CRM_UI', false). */

body.sa-crm{
  --crm-ink:#101828; --crm-ink-2:#344054; --crm-mut:#475467; --crm-faint:#667085;
  --crm-app:#f3f5f9; --crm-subtle:#f8fafc; --crm-input:#f4f6fa;
  --crm-line:#e7eaf0; --crm-row:#f2f4f7; --crm-btn-line:#d0d5dd;
  --crm-brand:#2F8F5B; --crm-brand-dark:#1F6B45; --crm-gold:#E0A82E;
  --crm-tint:#eaf4ee;
  --crm-grad-btn:linear-gradient(135deg,#277D50,#1F6B45);
  --crm-grad-line:linear-gradient(90deg,#1F6B45,#2F8F5B 55%,#E0A82E);
  --crm-pill:linear-gradient(135deg,rgba(47,143,91,.14),rgba(224,168,46,.10));
  --crm-r-card:14px; --crm-r-btn:10px; --crm-r-field:9px;
  --crm-shadow-card:0 1px 3px rgba(16,24,40,.06);
  --crm-shadow-hover:0 10px 30px -16px rgba(16,24,40,.22);
  --crm-glow:0 10px 22px -8px rgba(31,107,69,.55);
  --crm-ring:0 0 0 3px rgba(47,143,91,.14);
  --font-body:"Assistant","Segoe UI",system-ui,sans-serif;
  --font-display:"Secular One","Assistant",system-ui,sans-serif;
  background:var(--crm-app)!important;
  color:var(--crm-ink);
  font-family:var(--font-body);
}
body.sa-crm .site-content{background:transparent}

/* ---------- טיפוגרפיה: כותרות ב-Secular One (משקל אחד, בלי הדגשה מלאכותית) ---------- */
body.sa-crm :is(h1,h2,h3){font-family:var(--font-display);font-weight:400!important;font-synthesis:none;letter-spacing:-.2px}
body.sa-crm :is(h4,h5,h6),body.sa-crm .woocommerce-loop-product__title,body.sa-crm .pcard__name,
body.sa-crm .cart_totals h2,body.sa-crm #order_review_heading,body.sa-crm .woocommerce-column__title,
body.sa-crm .sa-dept-title,body.sa-crm .widget-title{font-family:var(--font-body)!important;font-weight:800!important;font-synthesis:none}
body.sa-crm .product_title{font-family:var(--font-display)!important;font-weight:400!important;font-size:clamp(26px,3vw,34px)!important;line-height:1.2!important}

/* =========================================================================
   הכותרת העליונה: זכוכית בהירה כמו ב-CRM (פס הקטגוריות נשאר כמו שהוא)
   ====================================================================== */
body.sa-crm #hdr.site-header,body.sa-crm #hdr.site-header.scrolled{
  background:rgba(255,255,255,.82)!important;-webkit-backdrop-filter:blur(10px) saturate(150%)!important;backdrop-filter:blur(10px) saturate(150%)!important;
  border-bottom:1px solid var(--crm-line)!important;box-shadow:none!important}
body.sa-crm #hdr .sa-header-search .dgwt-wcas-search-input{background:var(--crm-input)!important;border:1px solid var(--crm-line)!important;border-radius:var(--crm-r-btn)!important;min-height:44px}
body.sa-crm #hdr .sa-header-search .dgwt-wcas-search-input:focus{background:#fff!important;border-color:var(--crm-brand)!important;box-shadow:var(--crm-ring)!important}
body.sa-crm #hdr .icon-btn{border-radius:var(--crm-r-btn)!important;border:1px solid var(--crm-line)!important;background:#fff!important;color:var(--crm-ink-2)!important}
body.sa-crm #hdr .icon-btn:hover{border-color:var(--crm-brand)!important;color:var(--crm-brand-dark)!important}
body.sa-crm #hdr .burger{border-radius:var(--crm-r-btn)!important;border-color:var(--crm-line)!important}
body.sa-crm #hdr .icon-btn .count{background:var(--crm-grad-btn)!important;color:#fff!important}

/* =========================================================================
   כותרת העמוד, כמו ה-PageHeader של ה-CRM
   ====================================================================== */
body.sa-crm .sa-crm-head__in{padding:22px 0 2px}
body.sa-crm .sa-crm-head--slim .sa-crm-head__in{padding:16px 0 0}
body.sa-crm .sa-crm-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:13px;line-height:1.4;color:var(--crm-faint)}
body.sa-crm .sa-crm-crumbs a{color:var(--crm-mut);text-decoration:none}
body.sa-crm .sa-crm-crumbs a:hover{color:var(--crm-brand-dark);text-decoration:underline;text-underline-offset:3px}
body.sa-crm .sa-crm-crumbs [aria-current]{color:var(--crm-ink);font-weight:700}
body.sa-crm .sa-crm-sep{opacity:.5}
body.sa-crm .sa-crm-head__row{display:flex;align-items:flex-end;justify-content:space-between;gap:10px 24px;flex-wrap:wrap;margin-top:6px}
body.sa-crm .sa-crm-title{margin:0!important;color:var(--crm-ink)!important;font-size:clamp(26px,3vw,34px)!important;line-height:1.15!important}
body.sa-crm .sa-crm-sub{margin:6px 0 0;max-width:68ch;color:var(--crm-mut);font-size:15px;line-height:1.55}
body.sa-crm .sa-crm-pills{display:flex;flex-wrap:wrap;gap:8px}
body.sa-crm .sa-crm-pill{display:inline-flex;align-items:center;gap:6px;padding:7px 14px;border-radius:999px;background:var(--crm-pill);
  border:1px solid rgba(47,143,91,.28);box-shadow:0 8px 20px -10px rgba(47,143,91,.45);color:var(--crm-brand-dark);font-weight:700;font-size:13px;line-height:1.2;white-space:nowrap}
body.sa-crm-hashead .sa-search-title,body.sa-crm-hashead .sa-account-title{display:none!important}

/* =========================================================================
   משטח התוכן: כרטיסים לבנים
   ====================================================================== */
body.sa-crm .sa-wc-wrap,body.sa-crm .sa-content-wrap,body.sa-crm .sa-ac{padding-top:18px}
body.sa-crm :is(.woocommerce-message,.woocommerce-info,.woocommerce-error){border:0!important;border-radius:12px!important;box-shadow:none!important;font-weight:600}
body.sa-crm .woocommerce-info{background:#eaf1ff!important;color:#1149bf!important}
body.sa-crm .woocommerce-message{background:var(--crm-tint)!important;color:#087443!important}
body.sa-crm .woocommerce-error{background:#feecef!important;color:#b81232!important}
body.sa-crm :is(.woocommerce-message,.woocommerce-info,.woocommerce-error)::before{color:inherit!important}

/* כרטיסי מוצר */
body.sa-crm :is(ul.products li.product,.pcard){border-radius:var(--crm-r-card)!important;border:1px solid var(--crm-line)!important;box-shadow:var(--crm-shadow-card)!important;background:#fff!important}
body.sa-crm :is(ul.products li.product,.pcard):hover{box-shadow:var(--crm-shadow-hover)!important;transform:translateY(-2px)}
body.sa-crm ul.products li.product a img,body.sa-crm .pcard__img{border-radius:10px!important}
body.sa-crm :is(ul.products li.product .price,.pcard__price){color:var(--crm-ink)!important}
body.sa-crm :is(ul.products li.product .woocommerce-loop-product__title,.pcard__name){font-weight:700!important;color:var(--crm-ink)}

/* כפתורים: ראשי בגרדיאנט עם הילה, משני לבן עם גבול */
body.sa-crm :is(.woocommerce button.button.alt,.woocommerce a.button.alt,.checkout-button,#place_order,.single_add_to_cart_button,
.woocommerce-form-login__submit,.woocommerce-form-register__submit,.pcard__addbtn,ul.products li.product .button.add_to_cart_button){
  background:var(--crm-grad-btn)!important;border:1px solid var(--crm-brand-dark)!important;color:#fff!important;
  border-radius:var(--crm-r-btn)!important;box-shadow:var(--crm-glow)!important;font-weight:700!important;transition:box-shadow .18s ease,transform .18s ease,filter .15s ease}
body.sa-crm :is(.woocommerce button.button.alt,.woocommerce a.button.alt,.checkout-button,#place_order,.single_add_to_cart_button,
.woocommerce-form-login__submit,.woocommerce-form-register__submit,.pcard__addbtn,ul.products li.product .button.add_to_cart_button):hover{
  filter:brightness(1.06);box-shadow:0 16px 30px -10px rgba(31,107,69,.65)!important;transform:translateY(-1px)}
body.sa-crm :is(.woocommerce a.button:not(.alt),.woocommerce button.button:not(.alt),.woocommerce input.button:not(.alt)){
  background:#fff!important;color:var(--crm-ink-2)!important;border:1px solid var(--crm-btn-line)!important;border-radius:var(--crm-r-btn)!important;box-shadow:none!important;font-weight:700!important}
body.sa-crm :is(.woocommerce a.button:not(.alt),.woocommerce button.button:not(.alt)):hover{border-color:var(--crm-brand)!important;color:var(--crm-brand-dark)!important}
body.sa-crm .pcard__addbtn--view{background:#fff!important;color:var(--crm-ink-2)!important;border:1px solid var(--crm-btn-line)!important;box-shadow:none!important}

/* שדות: כמו ב-CRM */
body.sa-crm :is(.woocommerce form .input-text,.woocommerce form select,.woocommerce form textarea,.select2-container .select2-selection--single){
  background:var(--crm-input)!important;border:1px solid var(--crm-line)!important;border-radius:var(--crm-r-field)!important;min-height:46px;box-shadow:none!important;color:var(--crm-ink)}
body.sa-crm :is(.woocommerce form .input-text,.woocommerce form select,.woocommerce form textarea):focus{background:#fff!important;border-color:var(--crm-brand)!important;box-shadow:var(--crm-ring)!important;outline:0}
body.sa-crm .woocommerce form .form-row label{font-weight:700;color:var(--crm-ink-2);font-size:14px}

/* כרטיסים: סל, קופה, חשבון, סרגל המחלקות, התחברות */
body.sa-crm :is(.woocommerce-cart-form,.cart_totals,#order_review,.woocommerce-checkout #customer_details,.woocommerce-MyAccount-content,.sa-dept-widget,.woocommerce-order,.woocommerce-form-login,.woocommerce-form-register,.woocommerce-ResetPassword){
  background:#fff!important;border:1px solid var(--crm-line)!important;border-radius:var(--crm-r-card)!important;box-shadow:var(--crm-shadow-card)!important}
body.sa-crm .woocommerce-order{padding:20px}
body.sa-crm #customer_login{background:transparent!important;border:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
body.sa-crm :is(.woocommerce-form-login,.woocommerce-form-register,.woocommerce-ResetPassword){padding:24px!important}
body.sa-crm #customer_login h2{font-size:22px!important;color:var(--crm-ink)!important;margin:0 0 12px!important}

/* טבלאות (סל, הזמנות, סיכום) */
body.sa-crm table.shop_table{border:0!important;border-radius:var(--crm-r-card)!important;border-collapse:separate!important;overflow:hidden}
body.sa-crm table.shop_table thead th{background:var(--crm-subtle)!important;color:var(--crm-mut)!important;font-size:12.5px!important;font-weight:700!important;border:0!important;border-bottom:1px solid var(--crm-line)!important;padding:12px 14px!important}
body.sa-crm table.shop_table td,body.sa-crm table.shop_table tbody th,body.sa-crm table.shop_table tfoot :is(th,td){border:0!important;border-top:1px solid var(--crm-row)!important;padding:13px 14px!important}
body.sa-crm table.shop_table tbody tr:hover>td{background:#fafcfb}
body.sa-crm table.shop_table .order-total :is(th,td){font-size:17px;font-weight:800;color:var(--crm-ink)}
body.sa-crm table.shop_table .order-total .amount{color:var(--crm-brand-dark);font-family:var(--font-display);font-weight:400;font-size:22px}
body.sa-crm .cart_totals h2,body.sa-crm #order_review_heading{font-size:17px!important;margin:0 0 10px!important}

/* תגיות סטטוס (טבלת ההזמנות) */
body.sa-crm .sa-crm-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 11px;border-radius:999px;font-size:12.5px;font-weight:700;line-height:1.3;white-space:nowrap}
body.sa-crm .sa-crm-dot{width:7px;height:7px;border-radius:50%;background:currentColor;flex:0 0 7px}
body.sa-crm .sa-crm-chip--success{background:#e3f6ed;color:#087443}
body.sa-crm .sa-crm-chip--info{background:#eaf1ff;color:#1149bf}
body.sa-crm .sa-crm-chip--warning{background:#fef3e2;color:#92400e}
body.sa-crm .sa-crm-chip--danger{background:#feecef;color:#b81232}
body.sa-crm .sa-crm-chip--neutral{background:#f2f4f7;color:#475467}

/* החשבון שלי: תפריט בהיר, הפריט הפעיל בגוון ירוק עם פס צבע, כמו ב-CRM */
body.sa-crm .woocommerce-MyAccount-navigation{background:#fff!important;border:1px solid var(--crm-line)!important;border-radius:var(--crm-r-card)!important;box-shadow:var(--crm-shadow-card)!important;padding:10px!important}
body.sa-crm .woocommerce-MyAccount-navigation li a{border-radius:9px!important;color:var(--crm-ink-2)!important;font-weight:600;position:relative}
body.sa-crm .woocommerce-MyAccount-navigation li a:hover{background:var(--crm-subtle)!important;color:var(--crm-ink)!important}
body.sa-crm .woocommerce-MyAccount-navigation li.is-active a{background:var(--crm-tint)!important;color:var(--crm-brand-dark)!important;font-weight:800}
body.sa-crm .woocommerce-MyAccount-navigation li.is-active a::before{content:"";position:absolute;inset-inline-start:0;top:9px;bottom:9px;width:3px;border-radius:3px;background:linear-gradient(180deg,#2F8F5B,#E0A82E)}
body.sa-crm .sa-reorder-card{border-radius:var(--crm-r-card)!important}
body.sa-crm .sa-reorder-card .button,body.sa-crm .woocommerce-orders-table .sa-order-again{border-radius:var(--crm-r-btn)!important}

/* =========================================================================
   2.16.2: עמודי אלמנטור (פרטיות, תקנון, נגישות, אודות, צור קשר)
   ====================================================================== */
/* פירורי הלחם של אלמנטור, כמו בשאר האתר */
body.sa-crm .elementor-widget-breadcrumbs{font-size:13px!important;color:var(--crm-faint)!important}
body.sa-crm .elementor-widget-breadcrumbs a{color:var(--crm-mut)!important;text-decoration:none!important}
body.sa-crm .elementor-widget-breadcrumbs a:hover{color:var(--crm-brand-dark)!important;text-decoration:underline!important}
/* עמוד מסמך: הטקסט בכרטיס לבן וקריא */
body.sa-crm-doc .elementor-widget-theme-post-content{max-width:920px!important;margin-inline:auto!important;background:#fff!important;border:1px solid var(--crm-line)!important;border-radius:var(--crm-r-card)!important;box-shadow:var(--crm-shadow-card)!important;padding:30px 36px!important;box-sizing:border-box}
body.sa-crm-doc .elementor-widget-theme-post-content :is(h1,h2,h3,h4){font-family:var(--font-display)!important;font-weight:400!important;color:var(--crm-ink)!important;line-height:1.3!important;margin:26px 0 10px!important}
body.sa-crm-doc .elementor-widget-theme-post-content h2{font-size:22px!important}
body.sa-crm-doc .elementor-widget-theme-post-content :is(h3,h4){font-size:19px!important}
body.sa-crm-doc .elementor-widget-theme-post-content :is(p,li){font-family:var(--font-body)!important;font-size:16px!important;line-height:1.8!important;color:var(--crm-ink-2)!important}
body.sa-crm-doc .elementor-widget-theme-post-content p{margin:0 0 12px!important}
body.sa-crm-doc .elementor-widget-theme-post-content ul{padding-inline-start:22px!important;margin:0 0 14px!important}
body.sa-crm-doc .elementor-widget-theme-post-content li{margin:0 0 6px!important}
body.sa-crm-doc .elementor-widget-theme-post-content strong{color:var(--crm-ink)}
body.sa-crm-doc .elementor-widget-theme-post-content a{color:var(--crm-brand-dark)!important;text-decoration:underline;text-underline-offset:3px}
body.sa-crm-doc .elementor-widget-theme-post-content em:first-child{display:inline-block;color:var(--crm-faint)}
/* טפסים וכפתורים של אלמנטור (צור קשר): שדות וכפתור כמו ב-CRM */
body.sa-crm .elementor-form .elementor-field-textual{background:var(--crm-input)!important;border:1px solid var(--crm-line)!important;border-radius:var(--crm-r-field)!important;min-height:46px;color:var(--crm-ink)!important;box-shadow:none!important}
body.sa-crm .elementor-form .elementor-field-textual:focus{background:#fff!important;border-color:var(--crm-brand)!important;box-shadow:var(--crm-ring)!important;outline:0}
body.sa-crm .elementor-form .elementor-field-label{font-weight:700!important;color:var(--crm-ink-2)!important}
body.sa-crm .elementor-button{background:var(--crm-grad-btn)!important;border:1px solid var(--crm-brand-dark)!important;border-radius:var(--crm-r-btn)!important;box-shadow:var(--crm-glow)!important;color:#fff!important;font-family:var(--font-body)!important;font-weight:700!important}
body.sa-crm .elementor-widget-heading .elementor-heading-title{font-family:var(--font-display)!important;font-weight:400!important}

/* סרגל הנייד: הפריט הפעיל בגלולה ירוקה בהירה */
@media (max-width:767px){
  body.sa-crm .sa-tabbar a,body.sa-crm .sa-tabbar button{font-family:var(--font-body)!important;isolation:isolate}
  body.sa-crm .sa-tabbar [aria-current="page"]::before{content:"";position:absolute;inset:3px 8px;z-index:-1;border-radius:22px;background:var(--crm-tint)}
  body.sa-crm .sa-crm-head__in{padding:16px 0 0}
  body.sa-crm .sa-crm-title{font-size:26px!important}
  body.sa-crm .sa-crm-sub{font-size:14.5px}
  body.sa-crm .sa-crm-pill{padding:6px 12px;font-size:12.5px}
  body.sa-crm .woocommerce-MyAccount-navigation ul{display:flex!important;gap:6px;overflow-x:auto;scrollbar-width:none}
  body.sa-crm .woocommerce-MyAccount-navigation li{flex:0 0 auto}
  body.sa-crm .woocommerce-MyAccount-navigation li a{white-space:nowrap;padding:10px 14px!important}
  body.sa-crm .woocommerce-MyAccount-navigation li.is-active a::before{display:none}
  body.sa-crm :is(.woocommerce-form-login,.woocommerce-form-register,.woocommerce-ResetPassword){padding:18px!important}
  body.sa-crm-doc .elementor-widget-theme-post-content{padding:20px 18px!important;border-radius:12px}
  body.sa-crm-doc .elementor-widget-theme-post-content :is(p,li){font-size:15.5px!important}
}
