/* ==========================================================================
   legacy-ported.css — מה שנשאר בחיים מ-«Simple Custom CSS and JS»
   ==========================================================================

   ⚠️⚠️ **הקובץ הזה קיים כדי שלא יהיו הפתעות ביום ההשקה.**

   התוסף הדפיס 7 קטעי CSS (~96KB) שנכתבו ל-BeTheme. מ-0.9.51 התבנית
   חוסמת אותם (‎unicco_block_legacy_custom_css()‎ ב-inc/assets.php), כי
   ביום ההשקה היו רצים **הקטעים של הייצור** — לא אלה שנבדקו ב-dev.

   מה נכנס לכאן: **כל** כלל שנמצא תואם לאלמנט אמיתי, בסריקה של 27
   עמודים ב-dev (23/09/2026): כל 21 העמודים, קטגוריה, 3 מוצרים, חיפוש,
   404, וסל + צ'קאאוט עם מוצר בסל. 28 כללים תאמו; השאר (מאות כללים
   ל-‎#Top_bar‎, ‎.mfn-*‎ וכו') לא תאמו לשום דבר.

   הועתקו **כמו שהם**, כולל ה-‎!important‎, כדי שהאתר ייראה בדיוק כמו
   ב-dev היום. זה לא עיצוב שנבחר — זה עיצוב שהלקוח כבר ראה ואישר.

   ⚠️ **לא הועתקו, בכוונה:**
     ‎.woocommerce-Price-amount { font-size:24px }‎ (דסקטופ) — הבאג של
       «המחיר גדול מדי». בסל ובצ'קאאוט המחירים חוזרים לגודל הטקסט.
     ‎.single-product .woocommerce-Price-amount { font-size:30px }‎ —
       פגע גם בכרטיסי «מוצרים דומים». המחיר הראשי נשמר ב-30px דרך
       ‎.pdp-price‎ ב-components.css.
     ‎.product .price { width:100% }‎ — ללא השפעה נראית.

   ⚠️ **לא נסרק:** עמודי «החשבון שלי» של משתמש מחובר (הזמנות, כתובות)
   ועמוד «תודה» אחרי הזמנה אמיתית. אם משהו שם נראה אחרת אחרי 0.9.51 —
   זה המקום לחפש.

   ⚠️ נטען **אחרון**, אחרי style.css — בדיוק כמו הקטעים, שהודפסו
   ב-<head> אחרי כל ה-CSS שלנו. סדר אחר היה משנה את מי שמנצח בתיקו.

   B0–B6 = מספר הקטע בסדר ההדפסה, לאיתור המקור בניהול התוסף.
   ========================================================================== */


/* ---------------------------------------------------- כותרות וקישורים (B2, B6)
   ⚠️ שני כללים גורפים עם ‎!important‎. **מועמדים לניקוי אחרי ההשקה**,
   יחד עם המעצבת — הם דורסים את סולם הכותרות של התבנית בכל עמוד חוץ
   מדף הבית. הושארו כי זה מה שנראה היום. */
body:not(.home) h2 { padding-top: 30px; font-size: 30px !important; line-height: 36px !important; }
a:hover { text-decoration: none !important; }

/* עמודי מדיניות — הזחת רשימות ממוספרות (B6) */
.rtl ol { margin: 0 30px 15px 0 !important; }


/* ---------------------------------------------------- באנר העוגיות — CookieYes (B0, B2, B4) */
.cky-rtl .cky-notice-btn-wrapper { margin-right: 0 !important; }
.cky-btn-reject, .cky-btn-customize { border-width: 2px !important; border-style: solid !important; }
.cky-btn-revisit-wrapper { background-color: rgb(255, 38, 166) !important; }
@media (min-width: 1001px) {
  .cky-revisit-bottom-left { left: 0 !important; bottom: 5px !important; }
}
@media (max-width: 1000px) {
  .cky-revisit-bottom-left { bottom: 60px !important; }
}


/* ---------------------------------------------------- כפתור הנגישות — ai-negishut (B2, B4, B6) */
.ai_window_button { inset: 100px auto auto 0; border-radius: 0 10px 10px 0; }
.ai_window_button { background-color: rgb(255, 38, 166); }
.ai_window_button svg { width: 30px; height: 30px; }
@media (min-width: 1001px) {
  .ai_window_button { z-index: 99999; bottom: 55px !important; top: auto !important; left: 0 !important; }
}
@media (max-width: 1000px) {
  .ai_window_button { top: auto !important; bottom: 120px !important; }
}
#ai-accessibility p { line-height: 24px !important; }


/* ---------------------------------------------------- צ'קאאוט (B2, B5)
   התבנית מעצבת רק את שדות הטופס (woocommerce.css). טבלת הסיכום,
   שיטות המשלוח ואזור התשלום נשענו **רק** על הכללים האלה. */

/* לוגואים של כרטיסי אשראי מעל שיטת התשלום.
   ⚠️ התמונה נטענת מהייצור (www) — גם מ-dev. אם הקובץ יימחק מהמדיה
   בייצור, הלוגואים ייעלמו בשקט. */
.woocommerce-checkout #payment ul.payment_methods li label::before {
  content: url("https://www.unicco.co.il/wp-content/uploads/2024/01/CreditCardsGrey2.png");
  clear: both; display: block; position: relative; right: -10px; top: 10px;
}
.woocommerce-checkout #payment ul.payment_methods li label,
.woocommerce-checkout #payment ul.payment_methods li p { padding-right: 10px; position: relative; top: -5px; }
#add_payment_method #payment ul.payment_methods li label,
.woocommerce-cart #payment ul.payment_methods li label,
.woocommerce-checkout #payment ul.payment_methods li label { font-weight: 600; }

.rtl .woocommerce table.shop_table th,
.rtl .woocommerce table.shop_table td { text-align: right !important; }

.rtl .woocommerce-form-coupon-toggle .woocommerce-info a.showcoupon::after,
.rtl .woocommerce-form-login-toggle .woocommerce-info a.showlogin::after { left: -15px !important; right: auto !important; }

@media (max-width: 1000px) {
  .rtl .woocommerce table.shop_table td { padding-top: 10px; }
  .woocommerce-shipping-totals { height: 100px; }
  .woocommerce-shipping-totals ul#shipping_method { float: right; text-align: right; width: 100%; }
  .woocommerce-shipping-totals td::before { width: 100%; text-align: right; position: relative; top: -8px; }
  .rtl .woocommerce ul#shipping_method li { text-align: right; }
  .woocommerce button.button, .woocommerce-page button.button { margin-left: 0; }
}
