.elementor-kit-6{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;font-family:"Rubik", Sans-serif;}.elementor-kit-6 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//* =================================================
   Aladin Market – HERO Video FULL WIDTH (FINAL)
   ================================================= */

/* ביטול רווחים כלליים מהתבנית */
body,
.site,
.site-content,
#content,
.content-area,
#primary{
  margin: 0 !important;
  padding: 0 !important;
}

/* HERO */
.am-hero-video{
  position: relative;
  width: 100vw;
  height: 72vh;
  max-height: 640px;
  min-height: 420px;
  overflow: hidden;
  background: #000;
  margin: 0 !important;
  padding: 0 !important;
}

/* וידאו – מתיחה מלאה */
.am-hero-video__media{
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* הצמדה מלאה להדר – בלי פס לבן */
header,
.site-header,
#masthead{
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* מובייל */
@media (max-width: 767px){
  .am-hero-video{
    height: 60vh;
    min-height: 320px;
  }
}
/* ===== Aladin Market | Woo Cart Colors ===== */

/* קישורים */
.woocommerce a,
.woocommerce a:visited{
  color:#b00010;
}

.woocommerce a:hover{
  color:#8e000c;
}

/* כפתורים */
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button{
  background:#b00010;
  border-color:#b00010;
  color:#fff;
}

.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover{
  background:#8e000c;
  border-color:#8e000c;
}

/* כפתור Checkout */
.woocommerce .checkout-button{
  background:#b00010 !important;
  border-color:#b00010 !important;
}

.woocommerce .checkout-button:hover{
  background:#8e000c !important;
}

/* שדות קלט – מסגרת / פוקוס */
.woocommerce input:focus,
.woocommerce select:focus,
.woocommerce textarea:focus{
  border-color:#d35a5a !important;
  box-shadow:0 0 0 1px rgba(176,0,16,.25);
}

/* הודעות / לינקים פנימיים */
.woocommerce-message,
.woocommerce-info{
  border-top-color:#b00010;
}

/* קישורי "חישוב משלוח" */
.woocommerce-shipping-calculator a{
  color:#b00010;
}

/* כפתור עדכון סל */
.woocommerce button[name="update_cart"]{
  background:#fff;
  color:#b00010;
  border:1px solid #b00010;
}

.woocommerce button[name="update_cart"]:hover{
  background:#b00010;
  color:#fff;
}
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;700;900&display=swap');
/* ===== Aladin Market | Force Rubik on Woo ===== */
.woocommerce,
.woocommerce *{
  font-family: 'Rubik', system-ui, Arial, sans-serif !important;
}
/* ===== Aladin Market | Kill Blue Woo Colors ===== */

/* כל לינק אפשרי */
.woocommerce a,
.woocommerce a span,
.woocommerce a strong,
.woocommerce table a,
.woocommerce-cart a,
.woocommerce-checkout a{
  color:#b00010 !important;
}

/* Hover */
.woocommerce a:hover{
  color:#8e000c !important;
}

/* כפתורי פעולה משניים (כחול בהיר בדיפולט) */
.woocommerce .button.alt,
.woocommerce button.alt{
  background:#b00010 !important;
  border-color:#b00010 !important;
  color:#fff !important;
}

/* לינקים "חישוב משלוח", "עדכן" וכו' */
.woocommerce-shipping-calculator a,
.woocommerce-cart .shipping-calculator-button{
  color:#b00010 !important;
}

/* שדות Quantity / Focus כחול */
.woocommerce input:focus,
.woocommerce select:focus{
  border-color:#b00010 !important;
  box-shadow:0 0 0 1px rgba(176,0,16,.25) !important;
}
/* ===== Aladin Market | Last Blue Killer (Woo Cart/Checkout) ===== */

/* 1) כל לינק/טקסט שעדיין מקבל כחול מהתבנית */
.woocommerce a,
.woocommerce a:visited,
.woocommerce a *,
.woocommerce-cart a,
.woocommerce-checkout a,
.woocommerce-cart a *,
.woocommerce-checkout a *{
  color:#b00010 !important;
}

/* 2) אאוטליין/פוקוס כחול (לחיצה/טאב) */
.woocommerce *:focus,
.woocommerce *:focus-visible,
.woocommerce input:focus,
.woocommerce select:focus,
.woocommerce textarea:focus,
.woocommerce button:focus,
.woocommerce a:focus{
  outline: none !important;
  border-color:#b00010 !important;
  box-shadow: 0 0 0 2px rgba(176,0,16,.22) !important;
}

/* 3) כפתורים “כחולים” (alt / primary / checkout) */
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{
  background:#b00010 !important;
  border-color:#b00010 !important;
  color:#fff !important;
}

/* hover */
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover{
  background:#8e000c !important;
  border-color:#8e000c !important;
}

/* 4) כפתורים “משניים” שנשארו עם מסגרת כחולה */
.woocommerce button[name="update_cart"],
.woocommerce .shipping-calculator-form button,
.woocommerce-cart .shipping-calculator-button{
  background:#fff !important;
  color:#b00010 !important;
  border:1px solid #b00010 !important;
}

.woocommerce button[name="update_cart"]:hover,
.woocommerce .shipping-calculator-form button:hover,
.woocommerce-cart .shipping-calculator-button:hover{
  background:#b00010 !important;
  color:#fff !important;
  }
}
/* ======================================================
   Aladin Market – Woo Cart/Checkout Mobile Polish
   עובד על סל + סיכום הזמנה במובייל
   ====================================================== */

@media (max-width: 768px){

  /* בסיס */
  .woocommerce,
  .woocommerce-cart,
  .woocommerce-checkout{
    direction: rtl;
  }

  /* רוחב ו"ריווחי אוויר" כלליים */
  .woocommerce-cart .entry-content,
  .woocommerce-checkout .entry-content{
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  /* ========= סל קניות: כרטיס מוצר ========= */

  /* הופך כל שורת מוצר ל"Card" */
  .woocommerce-cart table.shop_table{
    border: 0 !important;
    background: transparent !important;
  }

  .woocommerce-cart table.shop_table tr.cart_item{
    display: block !important;
    position: relative !important;
    background: #fff !important;
    border: 1px solid rgba(0,0,0,.08) !important;
    border-radius: 16px !important;
    padding: 14px 14px 10px !important;
    margin: 0 0 14px !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.08) !important;
  }

  /* מסתיר כותרות טבלה */
  .woocommerce-cart table.shop_table thead{ display:none !important; }

  /* כל תא הופך לשורה עם תווית מימין וערך משמאל */
  .woocommerce-cart table.shop_table tr.cart_item td{
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    border: 0 !important;
    padding: 10px 0 !important;
  }

  /* התוויות של Woo במובייל (מגיעות מ־data-title) */
  .woocommerce-cart table.shop_table tr.cart_item td:before{
    content: attr(data-title) " :";
    font-weight: 700 !important;
    color: #111 !important;
    opacity: .9 !important;
    float: none !important;
    text-align: right !important;
    width: 42% !important;
    flex: 0 0 42% !important;
  }

  /* הערך עצמו */
  .woocommerce-cart table.shop_table tr.cart_item td > *{
    text-align: left !important;
  }

  /* שם מוצר (שיהיה יותר בולט) */
  .woocommerce-cart td.product-name{
    padding-top: 2px !important;
  }
  .woocommerce-cart td.product-name a{
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #b00010 !important;
    text-decoration: none !important;
  }

  /* כמות */
  .woocommerce-cart td.product-quantity .quantity{
    margin: 0 !important;
  }
  .woocommerce-cart td.product-quantity input.qty{
    width: 86px !important;
    height: 42px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(0,0,0,.18) !important;
    font-size: 16px !important;
    text-align: center !important;
  }

  /* כפתור הסרה – קטן, בפינה */
  .woocommerce-cart td.product-remove{
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    padding: 0 !important;
  }
  .woocommerce-cart td.product-remove a.remove{
    width: 34px !important;
    height: 34px !important;
    line-height: 32px !important;
    border-radius: 10px !important;
    background: rgba(176,0,16,.10) !important;
    color: #b00010 !important;
    font-size: 22px !important;
  }

  /* כפתורי סל: עדכון עגלה */
  .woocommerce-cart button[name="update_cart"]{
    width: 100% !important;
    border: 0 !important;
    border-radius: 999px !important;
    padding: 14px 16px !important;
    background: #b00010 !important;
    color: #fff !important;
    font-weight: 800 !important;
  }

  /* קופון – יישור וגדלים */
  .woocommerce-cart .coupon{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .woocommerce-cart .coupon input.input-text{
    width: 100% !important;
    height: 46px !important;
    border-radius: 12px !important;
  }
  .woocommerce-cart .coupon button{
    width: 100% !important;
    border-radius: 999px !important;
    padding: 14px 16px !important;
  }

  /* ========= סיכום עגלה / משלוח ========= */

  .woocommerce-cart .cart_totals{
    background: #fff !important;
    border-radius: 16px !important;
    padding: 16px !important;
    border: 1px solid rgba(0,0,0,.08) !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.08) !important;
  }

  .woocommerce-cart .cart_totals table{
    margin: 0 !important;
  }
  .woocommerce-cart .cart_totals th,
  .woocommerce-cart .cart_totals td{
    padding: 10px 0 !important;
    border-top: 1px solid rgba(0,0,0,.08) !important;
  }
  .woocommerce-cart .cart_totals th{
    font-weight: 800 !important;
    text-align: right !important;
    width: 55% !important;
  }
  .woocommerce-cart .cart_totals td{
    text-align: left !important;
    font-weight: 700 !important;
  }

  /* כפתור מעבר לתשלום */
  .woocommerce-cart .checkout-button{
    width: 100% !important;
    border-radius: 999px !important;
    padding: 16px 18px !important;
    background: linear-gradient(135deg,#b00010,#d0142a) !important;
    font-weight: 900 !important;
    font-size: 17px !important;
  }

  /* ========= בונוס: שלא ידרוס לך כפתור נגישות/צ׳אט ========= */
  .woocommerce-cart .woocommerce,
  .woocommerce-checkout .woocommerce{
    padding-bottom: 90px !important;
  }
}
/* ======================================================
   Aladin Market – Cart MOBILE only (בלי לפגוע בדסקטופ)
   ====================================================== */
@media (max-width: 768px){

  /* ריווח צדדי יפה במובייל */
  .woocommerce-cart .entry-content{
    padding: 0 14px !important;
  }

  /* מסתיר כותרות טבלה */
  .woocommerce-cart table.shop_table thead{
    display: none !important;
  }

  /* כל מוצר: כרטיס */
  .woocommerce-cart table.shop_table tr.cart_item{
    display: block !important;
    position: relative !important;
    background: #fff !important;
    border: 1px solid rgba(0,0,0,.08) !important;
    border-radius: 18px !important;
    padding: 14px 14px 10px !important;
    margin: 0 0 14px !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.08) !important;
  }

  /* תאים הופכים לשורות */
  .woocommerce-cart table.shop_table tr.cart_item td{
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    border: 0 !important;
    padding: 10px 0 !important;
  }

  /* תווית מימין לפי data-title */
  .woocommerce-cart table.shop_table tr.cart_item td:before{
    content: attr(data-title) " :";
    font-weight: 900 !important;
    color: #111 !important;
    width: 44% !important;
    flex: 0 0 44% !important;
    text-align: right !important;
  }

  /* שם מוצר */
  .woocommerce-cart td.product-name a{
    font-size: 17px !important;
    font-weight: 900 !important;
    color: #b00010 !important;
    text-decoration: none !important;
  }

  /* כמות */
  .woocommerce-cart input.qty{
    width: 90px !important;
    height: 44px !important;
    border-radius: 12px !important;
    text-align: center !important;
    font-size: 16px !important;
    border: 1px solid rgba(0,0,0,.18) !important;
  }

  /* הסרה בפינה */
  .woocommerce-cart td.product-remove{
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    padding: 0 !important;
  }
  .woocommerce-cart td.product-remove a.remove{
    width: 34px !important;
    height: 34px !important;
    line-height: 32px !important;
    border-radius: 10px !important;
    background: rgba(176,0,16,.10) !important;
    color: #b00010 !important;
    font-size: 22px !important;
  }

  /* קופון – שורה אחת למובייל */
  .woocommerce-cart .coupon{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 12px !important;
  }
  .woocommerce-cart .coupon input.input-text{
    width: 100% !important;
    height: 46px !important;
    border-radius: 12px !important;
  }

  /* כפתורים */
  .woocommerce-cart button,
  .woocommerce-cart a.button,
  .woocommerce-cart input.button{
    width: 100% !important;
    border-radius: 999px !important;
    padding: 14px 16px !important;
    font-weight: 900 !important;
  }

  /* עדכון עגלה + מעבר לתשלום */
  .woocommerce-cart button[name="update_cart"],
  .woocommerce-cart .checkout-button{
    background: linear-gradient(135deg,#b00010,#d0142a) !important;
    color: #fff !important;
    border: 0 !important;
  }

  /* סיכום עגלה ככרטיס */
  .woocommerce-cart .cart_totals{
    background:#fff !important;
    border-radius:18px !important;
    padding:14px !important;
    border:1px solid rgba(0,0,0,.08) !important;
    box-shadow:0 10px 24px rgba(0,0,0,.08) !important;
    margin-top: 14px !important;
  }

  /* שלא יתנגש עם כפתורי נגישות/צ׳אט */
  .woocommerce-cart .woocommerce{
    padding-bottom: 90px !important;
  }
}
/* ===== Cart Mobile – FINAL Polish ===== */
@media (max-width: 768px){

  /* מבטל תוויות מיותרות */
  .woocommerce-cart td.product-price:before,
  .woocommerce-cart td.product-subtotal:before{
    display:none !important;
  }

  /* שם מוצר ככותרת */
  .woocommerce-cart td.product-name{
    display:block !important;
    padding-bottom:6px !important;
  }
  .woocommerce-cart td.product-name:before{
    display:none !important;
  }
  .woocommerce-cart td.product-name a{
    font-size:18px !important;
    font-weight:900 !important;
    color:#b00010 !important;
  }

  /* מחיר – מתחת לשם מוצר */
  .woocommerce-cart td.product-price{
    display:block !important;
    text-align:right !important;
    font-size:15px !important;
    color:#111 !important;
    padding:4px 0 10px !important;
  }

  /* כמות – שורה נקייה */
  .woocommerce-cart td.product-quantity{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    gap:10px !important;
  }
  .woocommerce-cart td.product-quantity:before{
    content:"כמות:" !important;
    font-weight:800 !important;
  }

  /* סה״כ למוצר */
  .woocommerce-cart td.product-subtotal{
    display:flex !important;
    justify-content:space-between !important;
    align-items:center !important;
    font-weight:900 !important;
    padding-top:10px !important;
    border-top:1px dashed rgba(0,0,0,.15) !important;
  }
  .woocommerce-cart td.product-subtotal:before{
    content:"סה״כ למוצר:" !important;
    font-weight:800 !important;
  }

  /* עדכן עגלה – רק פעם אחת למטה */
  .woocommerce-cart tr.cart_item button[name="update_cart"]{
    display:none !important;
  }

}
/* ===== Aladin: Manual Mobile Cart Card (רק הקוביה שסימנת) ===== */
@media (max-width:768px){

  /* הקוביה עצמה */
  .am-cart-mobile{
    background:#fff !important;
    border:1px solid rgba(0,0,0,.10) !important;
    border-radius:18px !important;
    padding:16px !important;
    box-shadow:0 10px 24px rgba(0,0,0,.08) !important;
  }

  /* מבטל רווחים פנימיים מוזרים של Woo/תבנית */
  .am-cart-mobile .woocommerce,
  .am-cart-mobile form,
  .am-cart-mobile table,
  .am-cart-mobile .shop_table{
    margin:0 !important;
  }

  /* X הסרה: קיבוע לפינה */
  .am-cart-mobile a.remove,
  .am-cart-mobile .remove{
    position:absolute !important;
    top:14px !important;
    left:14px !important;
    width:34px !important;
    height:34px !important;
    line-height:32px !important;
    border-radius:10px !important;
    background:rgba(176,0,16,.10) !important;
    color:#b00010 !important;
    font-size:22px !important;
    text-align:center !important;
  }

  /* שם מוצר – יהיה כמו כותרת */
  .am-cart-mobile .product-name,
  .am-cart-mobile td.product-name,
  .am-cart-mobile .woocommerce-cart-form__cart-item .product-name{
    font-size:18px !important;
    font-weight:900 !important;
    color:#b00010 !important;
    margin:6px 0 10px !important;
    display:block !important;
  }

  /* שורות מידע: מחיר/כמות/סה"כ — יישור וקריאות */
  .am-cart-mobile .product-price,
  .am-cart-mobile .product-quantity,
  .am-cart-mobile .product-subtotal,
  .am-cart-mobile td.product-price,
  .am-cart-mobile td.product-quantity,
  .am-cart-mobile td.product-subtotal{
    display:flex !important;
    justify-content:space-between !important;
    align-items:center !important;
    padding:10px 0 !important;
    border-top:1px solid rgba(0,0,0,.08) !important;
  }

  /* תוויות בעברית (ידני) */
  .am-cart-mobile .product-price:before,
  .am-cart-mobile td.product-price:before{ content:"מחיר:" !important; font-weight:800 !important; }

  .am-cart-mobile .product-quantity:before,
  .am-cart-mobile td.product-quantity:before{ content:"כמות:" !important; font-weight:800 !important; }

  .am-cart-mobile .product-subtotal:before,
  .am-cart-mobile td.product-subtotal:before{ content:"סה״כ:" !important; font-weight:800 !important; }

  /* שדה כמות */
  .am-cart-mobile input.qty{
    width:92px !important;
    height:44px !important;
    border-radius:12px !important;
    text-align:center !important;
    font-size:16px !important;
    border:1px solid rgba(0,0,0,.18) !important;
  }

  /* כפתור עדכן עגלה – אם אתה רוצה להסתיר אותו בתוך הקוביה */
  .am-cart-mobile button[name="update_cart"]{
    width:100% !important;
    border-radius:999px !important;
    padding:14px 16px !important;
    font-weight:900 !important;
    background:linear-gradient(135deg,#b00010,#d0142a) !important;
    color:#fff !important;
    border:0 !important;
    margin-top:12px !important;
  }
}
/* =====================================================
   Aladin Market – CART MOBILE FINAL (LOCKED)
   משפיע רק על קוביית סל המובייל
   ===================================================== */
@media (max-width: 768px){
/* ===== Cart Mobile – Placeholder when no image ===== */
@media (max-width: 768px){

  .am-cart-mobile .product-thumbnail img{
    display:block !important;
  }

  /* אם אין תמונה - Woo שם לעתים placeholder class או img ריק,
     ניצור "מדבקה" ויזואלית קבועה */
  .am-cart-mobile .product-thumbnail:empty{
    display:block !important;
    width:100% !important;
    margin: 0 0 10px !important;
    height: 90px !important;
    border-radius: 14px !important;
    background: rgba(176,0,16,.06) !important;
    position: relative !important;
  }

  .am-cart-mobile .product-thumbnail:empty:after{
    content:"Aladin Market";
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:900;
    color:#b00010;
    opacity:.6;
  }
}

  /* הקוביה */
  .am-cart-mobile{
    position: relative !important;
    background: #fff !important;
    border: 1px solid rgba(0,0,0,.10) !important;
    border-radius: 20px !important;
    padding: 18px 16px !important;
    box-shadow: 0 12px 28px rgba(0,0,0,.10) !important;
  }

  /* ניקוי ריווחים פנימיים */
  .am-cart-mobile .woocommerce,
  .am-cart-mobile form,
  .am-cart-mobile table{
    margin: 0 !important;
  }

  /* X הסרה */
  .am-cart-mobile a.remove,
  .am-cart-mobile .remove{
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    width: 34px !important;
    height: 34px !important;
    line-height: 32px !important;
    border-radius: 10px !important;
    background: rgba(176,0,16,.12) !important;
    color: #b00010 !important;
    font-size: 22px !important;
    text-align: center !important;
  }

  /* שם מוצר */
  .am-cart-mobile .product-name,
  .am-cart-mobile td.product-name{
    display: block !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    color: #b00010 !important;
    margin: 6px 0 12px !important;
  }

  /* שורות מידע */
  .am-cart-mobile .product-price,
  .am-cart-mobile .product-quantity,
  .am-cart-mobile .product-subtotal,
  .am-cart-mobile td.product-price,
  .am-cart-mobile td.product-quantity,
  .am-cart-mobile td.product-subtotal{
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 0 !important;
    border-top: 1px solid rgba(0,0,0,.08) !important;
    font-size: 15px !important;
  }

  /* תוויות */
  .am-cart-mobile .product-price:before,
  .am-cart-mobile td.product-price:before{
    content: "מחיר:" !important;
    font-weight: 800 !important;
  }

  .am-cart-mobile .product-quantity:before,
  .am-cart-mobile td.product-quantity:before{
    content: "כמות:" !important;
    font-weight: 800 !important;
  }

  .am-cart-mobile .product-subtotal:before,
  .am-cart-mobile td.product-subtotal:before{
    content: "סה״כ למוצר:" !important;
    font-weight: 900 !important;
  }

  /* כמות */
  .am-cart-mobile input.qty{
    width: 90px !important;
    height: 44px !important;
    border-radius: 14px !important;
    text-align: center !important;
    font-size: 16px !important;
    border: 1px solid rgba(0,0,0,.18) !important;
  }

  /* כפתור עדכן עגלה – משני */
  .am-cart-mobile button[name="update_cart"]{
    width: 100% !important;
    margin-top: 14px !important;
    padding: 14px !important;
    border-radius: 999px !important;
    background: #f3f3f3 !important;
    color: #111 !important;
    font-weight: 800 !important;
    border: 1px solid rgba(0,0,0,.12) !important;
    box-shadow: none !important;
  }

  /* קופון */
  .am-cart-mobile .coupon{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 16px !important;
  }

  .am-cart-mobile .coupon input.input-text{
    height: 46px !important;
    border-radius: 14px !important;
  }

  .am-cart-mobile .coupon button{
    height: 46px !important;
    border-radius: 999px !important;
    font-weight: 900 !important;
  }

  /* כפתור מעבר לתשלום – הראשי */
  .woocommerce-cart .checkout-button{
    width: 100% !important;
    margin-top: 18px !important;
    padding: 16px 18px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg,#b00010,#d0142a) !important;
    color: #fff !important;
    font-weight: 900 !important;
    font-size: 17px !important;
    border: 0 !important;
  }
}
/* ======================================
   Checkout – Bubble rows (no layout change)
   ====================================== */

/* כל שורה בטבלת הסיכום */
.woocommerce-checkout-review-order table.shop_table tr{
  display: block;
  margin-bottom: 10px;
  background: #f7f7f7;
  border-radius: 14px;
  padding: 10px 14px;
}

/* מבטל קווי טבלה */
.woocommerce-checkout-review-order table.shop_table td,
.woocommerce-checkout-review-order table.shop_table th{
  border: 0 !important;
  padding: 6px 0 !important;
}

/* יישור נכון */
.woocommerce-checkout-review-order table.shop_table th{
  text-align: right;
  font-weight: 800;
}

.woocommerce-checkout-review-order table.shop_table td{
  text-align: left;
  font-weight: 700;
}

/* בועה מודגשת לשורה של הסה"כ */
.woocommerce-checkout-review-order .order-total{
  background: rgba(176,0,16,.10);
}

.woocommerce-checkout-review-order .order-total th,
.woocommerce-checkout-review-order .order-total td{
  font-size: 16px;
  font-weight: 900;
}
tr{ display:block; ... }
/* ======================================
   Aladin – Order Summary Bubbles (SAFE)
   מבוסס על class ידני בלבד
   ====================================== */

.am-order-bubbles table.shop_table{
  border-collapse: separate !important;
  border-spacing: 0 12px !important; /* רווח בין בועות */
}

/* כל שורה */
.am-order-bubbles table.shop_table tr{
  background: #f6f6f6 !important;
}

/* ניקוי גבולות וריווח פנימי */
.am-order-bubbles table.shop_table th,
.am-order-bubbles table.shop_table td{
  border: 0 !important;
  padding: 12px 16px !important;
}

/* פינות עגולות – תחילת וסוף שורה */
.am-order-bubbles table.shop_table tr > th:first-child,
.am-order-bubbles table.shop_table tr > td:first-child{
  border-top-right-radius: 14px !important;
  border-bottom-right-radius: 14px !important;
}

.am-order-bubbles table.shop_table tr > th:last-child,
.am-order-bubbles table.shop_table tr > td:last-child{
  border-top-left-radius: 14px !important;
  border-bottom-left-radius: 14px !important;
}

/* יישורים */
.am-order-bubbles table.shop_table th{
  text-align: right !important;
  font-weight: 800 !important;
}

.am-order-bubbles table.shop_table td{
  text-align: left !important;
  font-weight: 700 !important;
}

/* הדגשה לשורת סה"כ */
.am-order-bubbles table.shop_table tr.order-total{
  background: rgba(176,0,16,.12) !important;
}

.am-order-bubbles table.shop_table tr.order-total th,
.am-order-bubbles table.shop_table tr.order-total td{
  font-size: 16px !important;
  font-weight: 900 !important;
}
/* ======================================
   Order rows – subtle bubble via border
   ====================================== */

.am-order-bubbles table.shop_table{
  border-collapse: separate !important;
  border-spacing: 0 10px !important;
}

/* כל שורה */
.am-order-bubbles table.shop_table tr{
  background: #fafafa !important;
}

/* תאים */
.am-order-bubbles table.shop_table th,
.am-order-bubbles table.shop_table td{
  padding: 14px 16px !important;
  border: 1px solid rgba(0,0,0,.08) !important;
  background: #fafafa !important;
}

/* חיבור התאים לבועה אחת */
.am-order-bubbles table.shop_table tr > th:first-child,
.am-order-bubbles table.shop_table tr > td:first-child{
  border-left: 0 !important;
  border-top-right-radius: 14px !important;
  border-bottom-right-radius: 14px !important;
}

.am-order-bubbles table.shop_table tr > th:last-child,
.am-order-bubbles table.shop_table tr > td:last-child{
  border-right: 0 !important;
  border-top-left-radius: 14px !important;
  border-bottom-left-radius: 14px !important;
}

/* יישור */
.am-order-bubbles table.shop_table th{
  text-align: right !important;
  font-weight: 700 !important;
}

.am-order-bubbles table.shop_table td{
  text-align: left !important;
  font-weight: 600 !important;
}

/* Total – בועה מודגשת */
.am-order-bubbles table.shop_table tr.order-total th,
.am-order-bubbles table.shop_table tr.order-total td{
  background: rgba(176,0,16,.08) !important;
  border-color: rgba(176,0,16,.25) !important;
  font-weight: 900 !important;
}
/* ===== Aladin Market | Cart (Woo Blocks) - Mobile row layout ===== */
@media (max-width: 768px){

  /* מסתירים כותרות טבלה */
  .wc-block-cart-items__header,
  .wc-block-cart-items__header *{
    display:none !important;
  }

  /* כל פריט הופך ל"כרטיס" */
  .wc-block-cart-items__row{
    display:block !important;
    padding:14px !important;
    margin:0 0 14px !important;
    border:1px solid rgba(0,0,0,.12) !important;
    border-radius:16px !important;
    background:#fff !important;
    box-shadow:0 10px 24px rgba(0,0,0,.06) !important;
  }

  /* בתוך השורה: כל תא יורד שורה */
  .wc-block-cart-items__row > *{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    width:100% !important;
    padding:10px 0 !important;
    border-bottom:1px solid rgba(0,0,0,.06) !important;
  }
  .wc-block-cart-items__row > *:last-child{
    border-bottom:none !important;
    padding-bottom:0 !important;
  }

  /* מימין: label (נבנה מ-aria-label או class) */
  .wc-block-cart-items__row .wc-block-cart-item__product:before{
    content:"מוצר";
    font-weight:700;
    opacity:.75;
  }
  .wc-block-cart-items__row .wc-block-cart-item__price:before{
    content:"מחיר";
    font-weight:700;
    opacity:.75;
  }
  .wc-block-cart-items__row .wc-block-cart-item__quantity:before{
    content:"כמות";
    font-weight:700;
    opacity:.75;
  }
  .wc-block-cart-items__row .wc-block-cart-item__total:before{
    content:"סכום ביניים";
    font-weight:700;
    opacity:.75;
  }

  /* משמאל: הערך עצמו */
  .wc-block-cart-item__product,
  .wc-block-cart-item__price,
  .wc-block-cart-item__quantity,
  .wc-block-cart-item__total{
    gap:12px !important;
  }

  /* דואג שהערכים לא יישברו */
  .wc-block-cart-item__price *,
  .wc-block-cart-item__total *{
    white-space:nowrap !important;
  }

  /* כפתור מחיקה שלא יתפרק */
  .wc-block-cart-item__remove-link{
    margin-top:8px !important;
    display:inline-flex !important;
  }
}
/* ===== Aladin Market | Cart (Woo Blocks) - Align header with row columns (Desktop) ===== */
@media (min-width: 769px){

  /* הכותרת של טבלת הפריטים */
  .wc-block-cart-items__header{
    display: grid !important;
    direction: rtl !important;
    align-items: center !important;
    gap: 0 !important;

    /* סדר טורים RTL:
       מוצר | מחיר | כמות | סכום ביניים | תמונה | מחיקה
       (אם אין תמונה/מחיקה – זה עדיין יתיישר)
    */
    grid-template-columns: 1fr 110px 120px 140px 64px 34px !important;
    padding: 12px 14px !important;
  }

  /* שורה של מוצר */
  .wc-block-cart-items__row{
    display: grid !important;
    direction: rtl !important;
    align-items: center !important;
    gap: 0 !important;

    grid-template-columns: 1fr 110px 120px 140px 64px 34px !important;
    padding: 14px !important;
  }

  /* ודא שכל תא “נשב” במקום */
  .wc-block-cart-item__product{ grid-column: 1 !important; }
  .wc-block-cart-item__price{ grid-column: 2 !important; text-align: center !important; }
  .wc-block-cart-item__quantity{ grid-column: 3 !important; text-align: center !important; }
  .wc-block-cart-item__total{ grid-column: 4 !important; text-align: center !important; }

  /* אם יש תמונת מוצר ב-Blocks */
  .wc-block-cart-item__image,
  .wc-block-cart-item__product-image{
    grid-column: 5 !important;
    justify-self: center !important;
  }

  /* כפתור הסרה (X) */
  .wc-block-cart-item__remove-link{
    grid-column: 6 !important;
    justify-self: center !important;
  }

  /* כותרות – יישור כמו השורה */
  .wc-block-cart-items__header .wc-block-cart-items__header-image,
  .wc-block-cart-items__header .wc-block-cart-items__header-remove{
    justify-self: center !important;
  }
  .wc-block-cart-items__header .wc-block-cart-items__header-price,
  .wc-block-cart-items__header .wc-block-cart-items__header-quantity,
  .wc-block-cart-items__header .wc-block-cart-items__header-total{
    text-align: center !important;
  }

  /* מונע שבירת מספרים */
  .wc-block-cart-item__price *,
  .wc-block-cart-item__total *{
    white-space: nowrap !important;
  }
}
/* =================================================
   Aladin Market – Mobile Header: center logo + aligned icons (SAFE)
   ================================================= */
@media (max-width: 767px){

  /* שורת ההדר הראשית */
  #amHeaderV4 .am-top{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:10px !important;
    position: relative !important;
    padding: 10px 12px !important;
  }

  /* צד ימין/שמאל – קבוצות אייקונים */
  #amHeaderV4 .am-icons,
  #amHeaderV4 .am-right,
  #amHeaderV4 .am-left{
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
    flex: 0 0 auto !important;
  }

  /* מרכז – קונטיינר לוגו */
  #amHeaderV4 .am-logoWrap{
    flex: 1 1 auto !important;
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    min-width: 0 !important;
  }

  /* הלוגו עצמו (תמונה) */
  #amHeaderV4 .am-logoWrap img,
  #amHeaderV4 img.am-logo{
    height: 44px !important;     /* תעלה ל-48 אם בא לך גדול יותר */
    width: auto !important;
    max-width: 170px !important; /* מונע ענקיות */
    object-fit: contain !important;
    display:block !important;
  }

  /* עיגולי האייקונים */
  #amHeaderV4 .am-icons a,
  #amHeaderV4 .am-icons button{
    width: 38px !important;
    height: 38px !important;
    border-radius: 14px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
  }
}
/* =========================
   HEADER – FULL BLEED FINAL
========================= */

/* ההדר עצמו */
#amHeaderV5,
#amHeaderV4,
header{
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

/* עטיפות Elementor של ההדר */
header .elementor-container,
header .elementor-section,
header .e-con{
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* מובייל – לוודא שאין רווחים */
@media (max-width: 768px){
  header{
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
/* ===== Aladin Market – Product Cards Fix ===== */

/* גריד מוצרים */
.woocommerce ul.products{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* מובייל */
@media (max-width: 768px){
  .woocommerce ul.products{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* כרטיס מוצר */
.woocommerce ul.products li.product{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.woocommerce ul.products li.product:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0,0,0,.12);
}

/* תמונה אחידה */
.woocommerce ul.products li.product img{
  aspect-ratio: 1 / 1;
  object-fit: contain;
  max-height: 200px;
  margin-bottom: 12px;
}

/* שם מוצר */
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-size: 15px;
  line-height: 1.35;
  min-height: 42px;
}

/* מחיר */
.woocommerce ul.products li.product .price{
  margin: 8px 0;
}

/* כפתור תמיד למטה */
.woocommerce ul.products li.product .button{
  margin-top: auto;
}
/* === Woo Product Grid – ONLY ADDITIONS === */
/* Grid מודרני */
/* אפקט קל על קוביה */
.woocommerce ul.products li.product{
  transition: transform .2s ease, box-shadow .2s ease;
}
/* ===============================
   ALADIN – FINAL WOO CATEGORY GRID
   =============================== */

.woocommerce ul.products{
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
  gap: 22px !important;
  align-items: stretch !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce ul.products li.product{
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  border-radius: 18px;
}

/* image */
.woocommerce ul.products li.product img{
  width: 100% !important;
  height: 240px !important;
  object-fit: cover !important;
}

/* title + price spacing */
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  padding: 12px 12px 6px;
}

.woocommerce ul.products li.product .price{
  padding: 0 12px 10px;
}

/* add to cart always bottom */
.woocommerce ul.products li.product .button{
  margin-top: auto !important;
}

/* mobile */
@media (max-width: 767px){
  .woocommerce ul.products{
    gap: 14px !important;
  }
  .woocommerce ul.products li.product img{
    height: 180px !important;
  }
}
/* ===============================
   ALADIN – CATEGORY HERO (DYNAMIC)
   =============================== */
.amCatHero{
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  margin: 18px auto 22px;
  max-width: 1280px;
  min-height: 220px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(0,0,0,.08);
}

.amCatHero__bg{
  position:absolute;
  inset:0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}

.amCatHero__overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(
    90deg,
    rgba(252,227,233,.92) 0%,
    rgba(252,227,233,.70) 35%,
    rgba(0,0,0,.10) 100%
  );
}

.amCatHero__inner{
  position: relative;
  padding: 36px 26px;
}

.amCatHero__title{
  margin: 0 0 10px;
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.08;
  font-weight: 900;
  color: #b00010;
}

.amCatHero__desc{
  max-width: 760px;
  font-size: 15.5px;
  line-height: 1.65;
  font-weight: 600;
  color: rgba(0,0,0,.78);
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 12px 14px;
}

/* ===== MOBILE ===== */
@media (max-width: 767px){
  .amCatHero{
    border-radius: 18px;
    min-height: 190px;
    margin: 12px 12px 16px;
  }

  .amCatHero__inner{
    padding: 22px 16px;
  }

  .amCatHero__overlay{
    background: linear-gradient(
      180deg,
      rgba(252,227,233,.92) 0%,
      rgba(252,227,233,.78) 55%,
      rgba(0,0,0,.10) 100%
    );
  }
}
/* =========================
   ALADIN – CATEGORY HERO
   ========================= */

.amCatHero{
  position: relative;
  display: flex;
  align-items: center;
  min-height: 260px;
  margin: 0 0 40px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg,#b00010,#d0142a);
  color:#fff;
}

/* תמונת רקע מהקטגוריה */
.amCatHero__bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  opacity:.22;
}

/* שכבת כהות */
.amCatHero::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    to left,
    rgba(176,0,16,.85),
    rgba(176,0,16,.55),
    rgba(176,0,16,.25)
  );
}

.amCatHero__inner{
  position:relative;
  z-index:2;
  max-width:1200px;
  padding:40px 48px;
}

.amCatHero h1{
  margin:0 0 10px;
  font-size:clamp(28px,4vw,44px);
  font-weight:800;
}

.amCatHero p{
  max-width:520px;
  margin:0;
  font-size:16px;
  opacity:.95;
}

/* מובייל */
@media(max-width:767px){
  .amCatHero{
    min-height:200px;
    border-radius:16px;
  }
  .amCatHero__inner{
    padding:28px 22px;
  }
}
/* ===== Aladin Market – Category Hero ===== */
.amCatHero{
  direction: rtl;
  margin: 0 0 18px;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(176,0,16,.92), rgba(208,20,42,.78)),
    var(--amCatHeroBg);
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 40px rgba(0,0,0,.14);
}
.amCatHero__inner{
  padding: 26px 24px;
  min-height: 210px;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(to top, rgba(0,0,0,.35), rgba(0,0,0,0));
}
.amCatHero__title{
  margin: 0;
  color: #fff;
  font-weight: 900;
  font-size: clamp(22px, 3vw, 40px);
  letter-spacing: .2px;
}
.amCatHero__desc{
  margin: 10px 0 0;
  color: rgba(255,255,255,.92);
  max-width: 780px;
  line-height: 1.6;
  font-size: 15px;
}
@media (max-width: 767px){
  .amCatHero__inner{ min-height: 170px; padding: 18px 16px; }
}
/* ================================
   AM – CATEGORY HERO (OVERRIDE SAFE)
   Paste at END of Site Settings → Custom CSS
================================ */

/* ביטול מצבים שגורמים לפס אפור/גובה 0 */
.amCatHero,
.amCatHero *{
  box-sizing: border-box;
}

/* אם משהו דורך בגובה/תצוגה – זה מכריח Hero להיות בלוק עם גובה */
.amCatHero{
  display: block !important;
  width: 100% !important;
  min-height: 220px !important;
  height: auto !important;
  margin: 0 0 18px !important;

  direction: rtl !important;
  border-radius: 18px !important;
  overflow: hidden !important;

  /* צבעי Aladin גם אם אין תמונת קטגוריה */
  background:
    linear-gradient(120deg, rgba(176,0,16,.92), rgba(208,20,42,.78)) !important;
  background-size: cover !important;
  background-position: center !important;

  box-shadow: 0 18px 40px rgba(0,0,0,.14) !important;
}

/* שכבת תוכן פנימית */
.amCatHero_inner{
  display: flex !important;
  align-items: center !important;
  min-height: 220px !important;
  padding: 28px 22px !important;

  background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,.10)) !important;
}

/* טקסט */
.amCatHero_title{
  margin: 0 !important;
  color: #fff !important;
  font-weight: 900 !important;
  font-size: clamp(22px, 3vw, 40px) !important;
  letter-spacing: .2px !important;
}

.amCatHero_desc{
  margin: 10px 0 0 !important;
  color: rgba(255,255,255,.92) !important;
  max-width: 780px !important;
  line-height: 1.6 !important;
  font-size: 15px !important;
}

@media (max-width: 767px){
  .amCatHero{ min-height: 170px !important; }
  .amCatHero_inner{
    min-height: 170px !important;
    padding: 18px 16px !important;
  }
}
/* AM – Category Hero (AUTO) */
.amCatHero{
  direction:rtl;
  margin:0 0 18px;
  border-radius:18px;
  overflow:hidden;
  background:
    linear-gradient(120deg, rgba(176,0,16,.92), rgba(208,20,42,.78));
  background-size:cover;
  background-position:center;
  box-shadow:0 18px 40px rgba(0,0,0,.14);
}
.amCatHero[style*="--amCatHeroBg"]{
  background-image:
    linear-gradient(120deg, rgba(176,0,16,.55), rgba(0,0,0,.30)),
    var(--amCatHeroBg);
}
.amCatHero__inner{
  min-height:220px;
  display:flex;
  align-items:center;
  padding:28px 22px;
}
.amCatHero__title{
  margin:0;
  color:#fff;
  font-weight:900;
  font-size:clamp(22px,3vw,40px);
}
.amCatHero__desc{
  margin:10px 0 0;
  color:rgba(255,255,255,.92);
  max-width:780px;
  line-height:1.6;
  font-size:15px;
}
@media (max-width:767px){
  .amCatHero__inner{min-height:170px;padding:18px 16px;}
}
/* =========================
   AM – Category Hero tweaks
   1) Image in title box
   2) Hide duplicate WC title
========================= */

/* Hide WooCommerce default archive title/description (the duplicate block below) */
.woocommerce-products-header,
.woocommerce-products-header__title,
.woocommerce-products-header .term-description{
  display:none !important;
}

/* Make hero act like a “card” with image on the side */
.amCatHero{
  background: transparent !important; /* keep the hero as a card, not a full image */
}

.amCatHero__inner{
  display:flex !important;
  align-items:stretch !important;
  gap:18px !important;
}

/* Text card */
.amCatHero__content{
  flex: 1 1 auto !important;
  background: linear-gradient(120deg, rgba(176,0,16,.95), rgba(120,0,12,.90)) !important;
  border-radius: 18px !important;
  padding: 26px 22px !important;
  box-shadow: 0 18px 40px rgba(0,0,0,.14) !important;
}

/* Image “box” on the side (uses category image from --amCatHeroBg) */
.amCatHero__thumb{
  flex: 0 0 320px !important;
  border-radius: 18px !important;
  background-image: var(--amCatHeroBg) !important;
  background-size: cover !important;
  background-position: center !important;
  box-shadow: 0 18px 40px rgba(0,0,0,.14) !important;
  min-height: 170px !important;
}

/* Mobile: stack */
@media (max-width: 767px){
  .amCatHero__inner{
    flex-direction:column !important;
  }
  .amCatHero__thumb{
    flex-basis:auto !important;
    width:100% !important;
    min-height: 160px !important;
  }
}
/* Hide default WooCommerce category title (keep custom hero) */
body.tax-product_cat h1.woocommerce-products-header__title {
  display: none !important;
}
/* === AM Category Hero: force visible + fallback background === */
.amCatHero{
  display:block !important;
  min-height: 220px !important;
  margin: 18px 0 22px !important;
  border-radius: 18px !important;
  overflow: hidden !important;

  /* fallback if category has no thumbnail */
  background: linear-gradient(135deg, #b00010, #d0142a) !important;
  background-size: cover !important;
  background-position: center !important;
  box-shadow: 0 18px 40px rgba(0,0,0,.14) !important;
}

.amCatHero__inner{
  min-height: 220px !important;
  padding: 26px 24px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
}

/* hide Woo default archive title (the big H1 below) */
.woocommerce.archive .woocommerce-products-header .page-title,
.woocommerce.archive h1.page-title{
  display:none !important;
}

@media (max-width: 767px){
  .amCatHero, .amCatHero__inner{ min-height: 170px !important; }
}
/* =========================
   AM – Category Hero (Woo Hook)
   ========================= */

.woocommerce.archive .amCatHero{
  direction: rtl;
  margin: 18px 18px 18px;
  border-radius: 18px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(176,0,16,.92), rgba(120,0,12,.82), rgba(42,0,6,.78)),
    var(--amCatHeroBg);
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 42px rgba(0,0,0,.18);
}

.woocommerce.archive .amCatHero__inner{
  min-height: 210px;
  display: flex;
  align-items: center;
  padding: 26px 28px;
  background:
    radial-gradient(1000px 260px at 18% 50%, rgba(255,255,255,.10), transparent 55%),
    linear-gradient(to top, rgba(0,0,0,.28), rgba(0,0,0,.06));
}

.woocommerce.archive .amCatHero__content{max-width: 780px;}
.woocommerce.archive .amCatHero__title{
  margin: 0;
  color: #fff;
  font-weight: 900;
  font-size: clamp(26px, 3.2vw, 46px);
  letter-spacing: .2px;
}
.woocommerce.archive .amCatHero__desc{
  margin: 10px 0 0;
  color: rgba(255,255,255,.92);
  font-size: 16px;
  line-height: 1.55;
  max-width: 64ch;
}

/* =========================
   Right sidebar (subcategories)
   Note: Many themes already have a sidebar container.
   This styles it + makes it look like Aladin.
   ========================= */

.woocommerce.archive .amCatSide{
  direction: rtl;
  margin-top: 18px;
}

.woocommerce.archive .amCatSide__box{
  background: rgba(252,227,233,.65);
  border: 1px solid rgba(176,0,16,.16);
  border-radius: 16px;
  padding: 14px 14px;
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
}

.woocommerce.archive .amCatSide__title{
  font-weight: 900;
  color: #b00010;
  margin: 0 0 10px;
  font-size: 15px;
}

.woocommerce.archive .amCatSide__list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.woocommerce.archive .amCatSide__item a{
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(176,0,16,.14);
  border-radius: 12px;
  padding: 10px 12px;
  color: #111;
  font-weight: 700;
}

.woocommerce.archive .amCatSide__item a:hover{
  border-color: rgba(176,0,16,.28);
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
}

.woocommerce.archive .amCatSide__item.is-active a{
  background: linear-gradient(90deg, rgba(176,0,16,.12), rgba(255,255,255,1));
  border-color: rgba(176,0,16,.32);
}

/* Mobile tweaks */
@media (max-width: 767px){
  .woocommerce.archive .amCatHero{ margin: 12px 12px 12px; }
  .woocommerce.archive .amCatHero__inner{ min-height: 170px; padding: 18px 16px; }
}
/* =========================
   Aladin – Category Hero | Compact tweak (SAFE)
   רק מצמצם – לא מוחק
========================= */

/* הקטנת גובה כללי */
.woocommerce.archive .amCatHero{
  margin: 10px 16px 14px !important;
}

/* הקטנת הקופסה הפנימית */
.woocommerce.archive .amCatHero__inner{
  min-height: 150px !important;   /* היה ~210 */
  padding: 14px 20px !important;  /* היה גדול יותר */
}

/* הקטנת כותרת */
.woocommerce.archive .amCatHero__title{
  font-size: clamp(22px, 2.5vw, 36px) !important;
  line-height: 1.1 !important;
}

/* הקטנת תיאור */
.woocommerce.archive .amCatHero__desc{
  margin-top: 6px !important;
  font-size: 14px !important;
  padding: 6px 14px !important;
}

/* מובייל */
@media (max-width: 767px){
  .woocommerce.archive .amCatHero__inner{
    min-height: 120px !important;
    padding: 12px 16px !important;
  }
}
/* =========================
   AM Category Hero – shrink OUTER red box (SAFE)
========================= */

/* הקופסה האדומה החיצונית (הרקע הגדול) */
.woocommerce.archive .amCatHero{
  max-width: 1180px !important;      /* שלא יהיה ענק על מסכים רחבים */
  margin: 12px auto 18px !important; /* מרכז + פחות גובה */
  border-radius: 26px !important;
  overflow: hidden !important;
}

/* שכבת הרקע/גרדיאנט/צל של החיצונית */
.woocommerce.archive .amCatHero::before,
.woocommerce.archive .amCatHero::after{
  opacity: .95 !important;
}

/* צמצום padding/גובה פנימי כללי כדי שהחיצונית תיראה נמוכה יותר */
.woocommerce.archive .amCatHero__inner{
  min-height: 150px !important;   /* תוריד ל-130 אם עדיין גבוה */
  padding: 16px 22px !important;
}

/* מובייל */
@media (max-width: 767px){
  .woocommerce.archive .amCatHero{
    max-width: calc(100% - 18px) !important;
    margin: 10px auto 14px !important;
    border-radius: 20px !important;
  }
  .woocommerce.archive .amCatHero__inner{
    min-height: 120px !important;
    padding: 14px 16px !important;
  }
}
/* ===============================
   AM Category Hero – Image Layout
   Safe append (no overrides)
================================ */

/* הקטנת הקוביה האדומה הכללית */
.amCatHero{
  max-width: 1100px;
  margin: 40px auto 30px;
  border-radius: 22px;
}

/* מבנה פנימי: טקסט + תמונה */
.amCatHero_inner{
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: center;
  padding: 28px 32px;
}

/* אזור התמונה */
.amCatHero_image{
  width: 100%;
  height: 240px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

/* תמונה עצמה */
.amCatHero_image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* רספונסיבי */
@media (max-width: 768px){
  .amCatHero_inner{
    grid-template-columns: 1fr;
    text-align: center;
  }

  .amCatHero_image{
    height: 200px;
  }
}
/* ===============================
   AM Category Hero (RTL): title+desc right, image left
   Paste at bottom (safe)
================================ */

.amCatHero{
  direction: rtl;
  max-width: 1120px;
  margin: 34px auto 22px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg, #b00010, #d0142a 50%, #7e000b);
  box-shadow: 0 18px 44px rgba(0,0,0,.18);
}

.amCatHero_inner{
  display: grid;
  grid-template-columns: 1fr 420px; /* תוכן (ימין) + תמונה (שמאל) */
  gap: 26px;
  align-items: center;
  padding: 26px 28px;
}

.amCatHero_content{
  text-align: right;
}

.amCatHero_title{
  margin: 0 0 10px 0;
  color: #fff;
  font-weight: 900;
  font-size: clamp(26px, 3.2vw, 46px);
  line-height: 1.05;
}

.amCatHero_desc{
  margin: 0;
  color: rgba(255,255,255,.92);
  font-size: 16px;
  line-height: 1.6;
  max-width: 54ch;
}

/* תמונת קטגוריה */
.amCatHero_image{
  width: 100%;
  height: 220px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.10);
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
}

.amCatHero_image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* מובייל */
@media (max-width: 768px){
  .amCatHero_inner{
    grid-template-columns: 1fr;
    padding: 18px 16px;
  }
  .amCatHero_image{ height: 190px; }
  .amCatHero_title{ text-align:center; }
  .amCatHero_desc{ text-align:center; margin: 0 auto; }
}
/* === AM CAT HERO – SAFETY RESET (מחזיר את הקוביה אם הוסתרה) === */
.amCatHero,
.amCatHero *{
  box-sizing: border-box;
}

.amCatHero{
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  min-height: 0 !important;
  position: relative !important;
  z-index: 5 !important;
}
/* =========================
   AM Category Layout + Hero
   ========================= */
.amCatLayout{
  direction: rtl;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 1fr 280px; /* main + sidebar */
  gap: 22px;
}

@media (max-width: 980px){
  .amCatLayout{ grid-template-columns: 1fr; }
}

/* --- Hero --- */
.amCatHeroFinal{
  grid-column: 1 / -1;
  margin: 18px 0 10px;
}

.amCatHeroFinal__inner{
  display: grid;
  grid-template-columns: 1fr 360px; /* content right + image left (RTL still fine) */
  gap: 18px;
  align-items: center;

  border-radius: 22px;
  padding: 22px 22px;
  overflow: hidden;

  background: linear-gradient(120deg,#7b000c 0%, #b00010 45%, #7b000c 100%);
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
}

@media (max-width: 980px){
  .amCatHeroFinal__inner{
    grid-template-columns: 1fr;
    padding: 18px;
  }
}

.amCatHeroFinal__title{
  margin: 0 0 8px;
  color: #fff;
  font-weight: 900;
  font-size: clamp(22px, 3vw, 44px);
  letter-spacing: .2px;
}

.amCatHeroFinal__desc{
  margin: 0;
  color: rgba(255,255,255,.92);
  font-size: 16px;
  line-height: 1.6;
  max-width: 52ch;
  background: rgba(255,255,255,.18);
  padding: 10px 14px;
  border-radius: 999px;
}

/* image */
.amCatHeroFinal__media{
  display: flex;
  justify-content: flex-start;
}
.amCatHeroFinal__img,
.amCatHeroFinal__imgPlaceholder{
  width: 100%;
  max-width: 360px;
  height: 190px;
  border-radius: 18px;
  object-fit: cover;
  background: rgba(255,255,255,.14);
  box-shadow: 0 14px 30px rgba(0,0,0,.22);
}
@media (max-width: 980px){
  .amCatHeroFinal__media{ justify-content: center; }
  .amCatHeroFinal__img,
  .amCatHeroFinal__imgPlaceholder{ max-width: 520px; height: 200px; }
}

/* --- Sidebar (Subcats) --- */
.amSubcats{
  position: sticky;
  top: 110px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 14px 30px rgba(0,0,0,.08);
  overflow: hidden;
}

.amSubcats__head{
  padding: 14px 14px;
  font-weight: 800;
  color: #b00010;
  background: rgba(176,0,16,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.amSubcats__list{
  list-style: none;
  margin: 0;
  padding: 10px;
  display: grid;
  gap: 8px;
}

.amSubcats__link{
  display: block;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 12px;
  color: #111;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.amSubcats__link:hover{
  transform: translateY(-1px);
  background: rgba(176,0,16,.06);
  border-color: rgba(176,0,16,.20);
}

/* --- Keep products area nice --- */
.woocommerce .products{
  margin-top: 10px;
}
/* ===== AM Category Hero – Reduce Width (≈15%) ===== */
.amCatHeroFinal{
  max-width: 1100px;   /* אפשר לשחק: 1080 / 1120 */
  margin: 22px auto 10px auto; /* מרכז */
}

@media (max-width: 1280px){
  .amCatHeroFinal{
    max-width: 92%;
  }
}
/* ===== Woo Category Layout Fix (prevent weird product drops) ===== */
body.archive.tax-product_cat #primary,
body.archive.tax-product_cat .site-main,
body.archive.tax-product_cat .content-area{
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}

/* אם יש סיידבר שתופס מקום */
body.archive.tax-product_cat #secondary,
body.archive.tax-product_cat .sidebar,
body.archive.tax-product_cat .widget-area{
  display: none !important;
}

/* גריד מוצרים – שיהיה יציב */
body.archive.tax-product_cat ul.products{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
  margin: 0 !important;
}

@media (max-width: 1024px){
  body.archive.tax-product_cat ul.products{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 520px){
  body.archive.tax-product_cat ul.products{
    grid-template-columns: 1fr !important;
  }
}
/* ===== AM Woo Grid HARD FIX (RTL-safe) ===== */
body.archive.tax-product_cat .woocommerce ul.products,
body.archive.post-type-archive-product .woocommerce ul.products{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 28px !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.archive.tax-product_cat .woocommerce ul.products li.product,
body.archive.post-type-archive-product .woocommerce ul.products li.product{
  float: none !important;
  clear: none !important;
  display: block !important;
  margin: 0 !important;
  width: calc(33.333% - 18.7px) !important; /* 3 columns with gap */
  max-width: calc(33.333% - 18.7px) !important;
}

@media (max-width: 1024px){
  body.archive.tax-product_cat .woocommerce ul.products li.product,
  body.archive.post-type-archive-product .woocommerce ul.products li.product{
    width: calc(50% - 14px) !important;
    max-width: calc(50% - 14px) !important;
  }
}
@media (max-width: 520px){
  body.archive.tax-product_cat .woocommerce ul.products li.product,
  body.archive.post-type-archive-product .woocommerce ul.products li.product{
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* לוודא שההירו לא “משפיע” על הזרימה */
body.archive.tax-product_cat .amCatHero{ clear: both !important; }
/* ===== FIX Woo Category Grid Drop ===== */

/* עוטף כל המוצרים */
body.archive.woocommerce ul.products{
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px !important;

  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}

/* מוצר בודד */
body.archive.woocommerce ul.products li.product{
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

/* מנטרל margin שלילי שמגיע מאלמנטור */
body.archive.woocommerce .elementor-widget-container{
  margin-left: 0 !important;
  margin-right: 0 !important;
}
/* =====================================================
   Aladin Market – Woo Category Products (FINAL FIX)
   יעד:
   ✓ הקטנת תמונת מוצר
   ✓ כרטיסים אחידים
   ✓ גריד מסודר
   ✓ מובייל תקין
===================================================== */

/* === GRID כללי === */
.woocommerce ul.products{
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
  margin: 0 !important;
}

/* === כרטיס מוצר === */
.woocommerce ul.products li.product{
  padding: 16px 14px 18px;
  margin: 0 !important;
  text-align: center;
}

/* === תמונת מוצר === */
.woocommerce ul.products li.product a img{
  width: 100% !important;
  max-width: 170px;
  height: auto !important;
  margin: 0 auto 10px;
  display: block;
  object-fit: contain;
}

/* === שם מוצר === */
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-size: 15px;
  line-height: 1.35;
  min-height: 42px;
  margin: 6px 0 4px;
}

/* === מחיר === */
.woocommerce ul.products li.product .price{
  font-size: 14px;
  margin: 4px 0 10px;
}

/* === כפתור === */
.woocommerce ul.products li.product .button{
  width: 100%;
  border-radius: 10px;
  padding: 10px 0;
  font-size: 14px;
}

/* === מובייל === */
@media (max-width: 767px){
  .woocommerce ul.products{
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .woocommerce ul.products li.product a img{
    max-width: 140px;
  }

  .woocommerce ul.products li.product{
    padding: 12px;
  }
}
/* =====================================================
   Woo Category – ANTI "RUN AWAY" (FORCE FLEX + RESET FLOATS)
   Paste LAST in Site Settings → Custom CSS
===================================================== */

/* 1) קונטיינר המוצרים – הופך ל־Flex מסודר */
.woocommerce ul.products{
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important; /* ב-RTL זה יישב מימין */
  align-items: stretch !important;
  gap: 22px !important;

  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

/* 2) מבטל את כל ה-float/width של התבנית שגורמים לבריחה */
.woocommerce ul.products li.product{
  float: none !important;
  clear: none !important;
  width: auto !important;
  margin: 0 !important;

  /* 3 עמודות בדסקטופ עם מינימום רוחב */
  flex: 1 1 calc(33.333% - 22px) !important;
  max-width: calc(33.333% - 22px) !important;

  padding: 16px 14px 18px;
  text-align: center;
  box-sizing: border-box !important;
}

/* אם יש עטיפות תבנית שמכריחות בלוקים */
.woocommerce ul.products li.product,
.woocommerce ul.products li.product a{
  display: block !important;
}

/* 3) תמונת מוצר – קטנה וממורכזת */
.woocommerce ul.products li.product a img{
  width: 100% !important;
  max-width: 170px !important;
  height: auto !important;
  margin: 0 auto 10px !important;
  display: block !important;
  object-fit: contain !important;
}

/* 4) טקסטים */
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-size: 15px;
  line-height: 1.35;
  min-height: 42px;
  margin: 6px 0 4px;
}

.woocommerce ul.products li.product .price{
  font-size: 14px;
  margin: 4px 0 10px;
}

.woocommerce ul.products li.product .button{
  width: 100%;
  border-radius: 10px;
  padding: 10px 0;
  font-size: 14px;
}

/* 5) טאבלט – 2 עמודות */
@media (max-width: 1024px){
  .woocommerce ul.products li.product{
    flex: 1 1 calc(50% - 22px) !important;
    max-width: calc(50% - 22px) !important;
  }
}

/* 6) מובייל – 2 עמודות צפופות */
@media (max-width: 767px){
  .woocommerce ul.products{ gap: 14px !important; }

  .woocommerce ul.products li.product{
    flex: 1 1 calc(50% - 14px) !important;
    max-width: calc(50% - 14px) !important;
    padding: 12px;
  }

  .woocommerce ul.products li.product a img{
    max-width: 140px !important;
  }
}
/* =====================================================
   Woo Category – FINAL: REAL GRID + NICE CARDS
   Paste LAST in Site Settings → Custom CSS
===================================================== */

/* 0) איפוס תבנית (float/width שמפריעים) */
.woocommerce ul.products,
.woocommerce-page ul.products{
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  width: 100% !important;
  max-width: none !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{
  float: none !important;
  clear: none !important;
  width: auto !important;
  margin: 0 !important;
}

/* 1) GRID אמיתי – אין "בריחות" */
.woocommerce ul.products,
.woocommerce-page ul.products{
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
  gap: 22px !important;
  align-items: stretch !important;
}

/* 2) כרטיס מוצר (יפה ונקי) */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{
  background: #fff;
  border-radius: 18px;
  padding: 16px 14px 18px;
  text-align: center;
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
  overflow: hidden;
}

/* 3) תמונת מוצר – קטנה וממורכזת */
.woocommerce ul.products li.product a img,
.woocommerce-page ul.products li.product a img{
  width: 100% !important;
  max-width: 170px !important;
  height: 150px !important;      /* קובע גובה אחיד */
  margin: 0 auto 10px !important;
  display: block !important;
  object-fit: contain !important;
}

/* 4) שם מוצר – גובה אחיד */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-page ul.products li.product .woocommerce-loop-product__title{
  font-size: 15px;
  line-height: 1.35;
  min-height: 42px;
  margin: 6px 0 4px;
}

/* 5) מחיר */
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price{
  font-size: 14px;
  margin: 4px 0 10px;
}

/* 6) כפתור */
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button{
  width: 100%;
  border-radius: 12px;
  padding: 10px 0;
  font-size: 14px;
}

/* 7) טאבלט */
@media (max-width: 1024px){
  .woocommerce ul.products,
  .woocommerce-page ul.products{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

/* 8) מובייל */
@media (max-width: 767px){
  .woocommerce ul.products,
  .woocommerce-page ul.products{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .woocommerce ul.products li.product a img,
  .woocommerce-page ul.products li.product a img{
    max-width: 140px !important;
    height: 130px !important;
  }

  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product{
    padding: 12px;
    border-radius: 16px;
  }
}
/* =========================
   ROLLBACK – Undo Grid/Flex overrides (Category pages only)
   ========================= */

/* מחזיר את Woo/the theme לפריסה המקורית */
body.tax-product_cat .woocommerce ul.products,
body.tax-product_cat .woocommerce-page ul.products,
body.tax-product_cat.woocommerce ul.products,
body.tax-product_cat.woocommerce-page ul.products{
  all: revert !important;
}

body.tax-product_cat .woocommerce ul.products li.product,
body.tax-product_cat .woocommerce-page ul.products li.product,
body.tax-product_cat.woocommerce ul.products li.product,
body.tax-product_cat.woocommerce-page ul.products li.product{
  all: revert !important;
}
/* =====================================================
   SAFE ROLLBACK (Category pages) – undo only our layout overrides
   This returns Woo/theme layout without nuking styles.
===================================================== */

body.tax-product_cat .woocommerce ul.products,
body.tax-product_cat .woocommerce-page ul.products{
  display: block !important;     /* מחזיר להתנהגות המקורית של התבנית */
  gap: 0 !important;
  justify-content: initial !important;
  align-items: initial !important;
}

body.tax-product_cat .woocommerce ul.products li.product,
body.tax-product_cat .woocommerce-page ul.products li.product{
  float: left !important;        /* ברוב התבניות Woo זה הבסיס לגריד */
  clear: none !important;
  margin: 0 0 2.992em !important;
  width: 30.75% !important;      /* 3 בעמוד בדסקטופ */
}

/* תיקון RTL: שיצוף נכון */
body.rtl.tax-product_cat .woocommerce ul.products li.product,
body.rtl.tax-product_cat .woocommerce-page ul.products li.product{
  float: right !important;
}

/* טאבלט: 2 בעמוד */
@media (max-width: 1024px){
  body.tax-product_cat .woocommerce ul.products li.product,
  body.tax-product_cat .woocommerce-page ul.products li.product{
    width: 48% !important;
  }
}

/* מובייל: 2 בעמוד (או 1 אם תרצה – תגיד) */
@media (max-width: 767px){
  body.tax-product_cat .woocommerce ul.products li.product,
  body.tax-product_cat .woocommerce-page ul.products li.product{
    width: 48% !important;
  }
}
/* =====================================================
   FORCE CLEAN GRID – Product Category (Woo Archive)
   Fixes: 1-per-row, stretched button, runaway spacing
===================================================== */

/* קונטיינר ארכיון (קטגוריות/חנות) */
body.tax-product_cat .woocommerce .products,
body.post-type-archive-product .woocommerce .products{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* איפוס כל ה-width/float ששובר */
body.tax-product_cat .woocommerce .products > li.product,
body.post-type-archive-product .woocommerce .products > li.product{
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  clear: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;

  background: #fff;
  border-radius: 18px;
  padding: 16px 14px 18px;
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
  overflow: hidden;
}

/* תמונה – אחידה וקטנה */
body.tax-product_cat .woocommerce .products > li.product a img,
body.post-type-archive-product .woocommerce .products > li.product a img{
  max-width: 170px !important;
  width: 100% !important;
  height: 150px !important;
  object-fit: contain !important;
  margin: 0 auto 10px !important;
  display: block !important;
}

/* שם + מחיר */
body.tax-product_cat .woocommerce .products > li.product .woocommerce-loop-product__title,
body.post-type-archive-product .woocommerce .products > li.product .woocommerce-loop-product__title{
  font-size: 15px;
  line-height: 1.35;
  min-height: 42px;
  margin: 6px 0 4px;
}

body.tax-product_cat .woocommerce .products > li.product .price,
body.post-type-archive-product .woocommerce .products > li.product .price{
  font-size: 14px;
  margin: 4px 0 10px;
}

/* כפתור – רוחב מלא בתוך הכרטיס (אבל לא “בורח” לכל העמוד) */
body.tax-product_cat .woocommerce .products > li.product a.button,
body.post-type-archive-product .woocommerce .products > li.product a.button{
  width: 100% !important;
  max-width: 280px !important;
  border-radius: 12px !important;
  padding: 10px 0 !important;
}

/* טאבלט */
@media (max-width: 1024px){
  body.tax-product_cat .woocommerce .products,
  body.post-type-archive-product .woocommerce .products{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

/* מובייל */
@media (max-width: 767px){
  body.tax-product_cat .woocommerce .products,
  body.post-type-archive-product .woocommerce .products{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  body.tax-product_cat .woocommerce .products > li.product a img,
  body.post-type-archive-product .woocommerce .products > li.product a img{
    max-width: 140px !important;
    height: 130px !important;
  }
}
/* =====================================================
   EMERGENCY RESET – Woo Category Layout
   Disables ALL previous custom grid/flex overrides
   Safe to keep permanently
===================================================== */

/* מחזיר את WooCommerce להתנהגות ברירת־מחדל של התבנית */
body.tax-product_cat .woocommerce ul.products,
body.post-type-archive-product .woocommerce ul.products{
  display: block !important;
  grid: none !important;
  flex: none !important;
  gap: initial !important;
}

/* מחזיר כל מוצר למצב טבעי של התבנית */
body.tax-product_cat .woocommerce ul.products li.product,
body.post-type-archive-product .woocommerce ul.products li.product{
  all: unset !important;
  display: list-item !important;
}

/* מבטל עיצובים שנכפו על תמונה וכפתור */
body.tax-product_cat .woocommerce ul.products li.product img,
body.post-type-archive-product .woocommerce ul.products li.product img,
body.tax-product_cat .woocommerce ul.products li.product .button,
body.post-type-archive-product .woocommerce ul.products li.product .button{
  all: unset !important;
}
/* =====================================================
   FIX NOW – Restore product grid on category/shop pages
   (Works even if theme/elementor broke layout)
===================================================== */

/* רק קטגוריה + חנות */
body.tax-product_cat .woocommerce ul.products,
body.post-type-archive-product .woocommerce ul.products{
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  width: 100% !important;
}

/* כל כרטיס מוצר */
body.tax-product_cat .woocommerce ul.products > li.product,
body.post-type-archive-product .woocommerce ul.products > li.product{
  float: none !important;
  width: calc(33.333% - 14.7px) !important; /* 3 בעמוד */
  margin: 0 !important;
  display: block !important;
  box-sizing: border-box !important;
  text-align: center !important;
}

/* תמונה שלא תתנפח */
body.tax-product_cat .woocommerce ul.products > li.product a img,
body.post-type-archive-product .woocommerce ul.products > li.product a img{
  max-width: 180px !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 auto 10px !important;
  display: block !important;
  object-fit: contain !important;
}

/* כפתור שלא "יברח" לרוחב העמוד */
body.tax-product_cat .woocommerce ul.products > li.product a.button,
body.post-type-archive-product .woocommerce ul.products > li.product a.button{
  display: inline-flex !important;
  width: 100% !important;
  max-width: 280px !important;
  justify-content: center !important;
  border-radius: 12px !important;
}

/* טאבלט: 2 בעמוד */
@media (max-width: 1024px){
  body.tax-product_cat .woocommerce ul.products > li.product,
  body.post-type-archive-product .woocommerce ul.products > li.product{
    width: calc(50% - 11px) !important;
  }
}

/* מובייל: 2 בעמוד */
@media (max-width: 767px){
  body.tax-product_cat .woocommerce ul.products,
  body.post-type-archive-product .woocommerce ul.products{
    gap: 14px !important;
  }
  body.tax-product_cat .woocommerce ul.products > li.product,
  body.post-type-archive-product .woocommerce ul.products > li.product{
    width: calc(50% - 7px) !important;
  }
}
/* =====================================================
   Aladin – FORCE FIX for Woo Category/Shop layout
   (Overrides previous pasted CSS – only on category/shop pages)
===================================================== */

body.tax-product_cat .woocommerce ul.products,
body.post-type-archive-product .woocommerce ul.products{
  /* force grid */
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;

  /* reset list defaults */
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;

  /* kill flex attempts */
  flex: unset !important;
}

/* product card */
body.tax-product_cat .woocommerce ul.products > li.product,
body.post-type-archive-product .woocommerce ul.products > li.product{
  /* cancel theme/old overrides */
  float: none !important;
  clear: none !important;
  width: auto !important;
  display: flex !important;
  flex-direction: column !important;

  box-sizing: border-box !important;
  text-align: center !important;

  background: #fff !important;
  border-radius: 18px !important;
  padding: 16px 14px 18px !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.08) !important;
  overflow: hidden !important;
}

/* image sizing (won’t break layout) */
body.tax-product_cat .woocommerce ul.products > li.product a img,
body.post-type-archive-product .woocommerce ul.products > li.product a img{
  max-width: 170px !important;
  width: 100% !important;
  height: 150px !important;
  object-fit: contain !important;
  margin: 0 auto 10px !important;
  display: block !important;
}

/* button: keep inside the card (no full-page stretch) */
body.tax-product_cat .woocommerce ul.products > li.product a.button,
body.post-type-archive-product .woocommerce ul.products > li.product a.button{
  width: 100% !important;
  max-width: 280px !important;
  margin: 8px auto 0 !important;
  display: inline-flex !important;
  justify-content: center !important;
  border-radius: 12px !important;
}

/* tablet */
@media (max-width: 1024px){
  body.tax-product_cat .woocommerce ul.products,
  body.post-type-archive-product .woocommerce ul.products{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

/* mobile */
@media (max-width: 767px){
  body.tax-product_cat .woocommerce ul.products,
  body.post-type-archive-product .woocommerce ul.products{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  body.tax-product_cat .woocommerce ul.products > li.product a img,
  body.post-type-archive-product .woocommerce ul.products > li.product a img{
    max-width: 140px !important;
    height: 130px !important;
  }
}
/* =====================================================
   Aladin – HARD FIX: Force Woo products to GRID (Archive/Category)
   Includes single-product graceful layout
===================================================== */

/* היעד: כל אזורי רשימת מוצרים של Woo בעמודי קטגוריה/חנות */
body.tax-product_cat .woocommerce .products,
body.tax-product_cat .woocommerce ul.products,
body.post-type-archive-product .woocommerce .products,
body.post-type-archive-product .woocommerce ul.products{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  width: 100% !important;
}

/* הכרטיס עצמו – מבטל “שורה-שורה” */
body.tax-product_cat .woocommerce .products > li.product,
body.tax-product_cat .woocommerce ul.products > li.product,
body.post-type-archive-product .woocommerce .products > li.product,
body.post-type-archive-product .woocommerce ul.products > li.product{
  float: none !important;
  width: auto !important;
  clear: none !important;
  margin: 0 !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  box-sizing: border-box !important;

  background: #fff !important;
  border-radius: 18px !important;
  padding: 16px 14px 18px !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.08) !important;
  overflow: hidden !important;
}

/* אם יש “מוצר אחד בלבד” – שלא יתפרס על כל הרוחב */
body.tax-product_cat .woocommerce .products.columns-1 > li.product,
body.tax-product_cat .woocommerce ul.products.columns-1 > li.product,
body.post-type-archive-product .woocommerce .products.columns-1 > li.product,
body.post-type-archive-product .woocommerce ul.products.columns-1 > li.product{
  max-width: 340px !important;
  justify-self: center !important;
}

/* תמונה */
body.tax-product_cat .woocommerce ul.products > li.product a img,
body.post-type-archive-product .woocommerce ul.products > li.product a img{
  max-width: 170px !important;
  width: 100% !important;
  height: 150px !important;
  margin: 0 auto 10px !important;
  display: block !important;
  object-fit: contain !important;
}

/* כפתור – נשאר בתוך הכרטיס, לא “נמתח לעמוד” */
body.tax-product_cat .woocommerce ul.products > li.product a.button,
body.post-type-archive-product .woocommerce ul.products > li.product a.button{
  width: 100% !important;
  max-width: 280px !important;
  margin: 10px auto 0 !important;
  display: inline-flex !important;
  justify-content: center !important;
  border-radius: 12px !important;
}

/* טאבלט */
@media (max-width: 1024px){
  body.tax-product_cat .woocommerce .products,
  body.tax-product_cat .woocommerce ul.products,
  body.post-type-archive-product .woocommerce .products,
  body.post-type-archive-product .woocommerce ul.products{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

/* מובייל */
@media (max-width: 767px){
  body.tax-product_cat .woocommerce .products,
  body.tax-product_cat .woocommerce ul.products,
  body.post-type-archive-product .woocommerce .products,
  body.post-type-archive-product .woocommerce ul.products{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  body.tax-product_cat .woocommerce ul.products > li.product a img,
  body.post-type-archive-product .woocommerce ul.products > li.product a img{
    max-width: 140px !important;
    height: 130px !important;
  }
}
/* =====================================================
   FINAL – FORCE GRID (Woo + Elementor)
   Scope: product category pages + shop archive
===================================================== */

body.tax-product_cat,
body.post-type-archive-product{
  /* nothing here – scope only */
}

/* ====== 1) Woo default list ====== */
body.tax-product_cat .woocommerce ul.products,
body.tax-product_cat .woocommerce .products,
body.post-type-archive-product .woocommerce ul.products,
body.post-type-archive-product .woocommerce .products{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* items */
body.tax-product_cat .woocommerce ul.products > li.product,
body.tax-product_cat .woocommerce .products > li.product,
body.post-type-archive-product .woocommerce ul.products > li.product,
body.post-type-archive-product .woocommerce .products > li.product{
  float: none !important;
  width: auto !important;
  clear: none !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

/* prevent “button stretches the whole page” */
body.tax-product_cat .woocommerce ul.products > li.product a.button,
body.post-type-archive-product .woocommerce ul.products > li.product a.button{
  width: 100% !important;
  max-width: 280px !important;
  margin: 10px auto 0 !important;
  display: inline-flex !important;
  justify-content: center !important;
}

/* ====== 2) Elementor Products widget grids ====== */
body.tax-product_cat .elementor-widget-woocommerce-products ul.products,
body.post-type-archive-product .elementor-widget-woocommerce-products ul.products,
body.tax-product_cat .elementor-widget-woocommerce-product-archive ul.products,
body.post-type-archive-product .elementor-widget-woocommerce-product-archive ul.products{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
}

/* ====== 3) Elementor Loop Grid / Loop Builder ====== */
body.tax-product_cat .e-loop-container,
body.post-type-archive-product .e-loop-container,
body.tax-product_cat .elementor-loop-container,
body.post-type-archive-product .elementor-loop-container{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px !important;
}

body.tax-product_cat .e-loop-container > * ,
body.post-type-archive-product .e-loop-container > * ,
body.tax-product_cat .elementor-loop-container > * ,
body.post-type-archive-product .elementor-loop-container > *{
  width: auto !important;
  margin: 0 !important;
}

/* ====== Visual card (optional but helps) ====== */
body.tax-product_cat .woocommerce ul.products > li.product,
body.post-type-archive-product .woocommerce ul.products > li.product{
  background: #fff !important;
  border-radius: 18px !important;
  padding: 16px 14px 18px !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.08) !important;
  overflow: hidden !important;
}

/* image sizing (safe) */
body.tax-product_cat .woocommerce ul.products > li.product a img,
body.post-type-archive-product .woocommerce ul.products > li.product a img{
  max-width: 170px !important;
  width: 100% !important;
  height: 150px !important;
  object-fit: contain !important;
  margin: 0 auto 10px !important;
  display: block !important;
}

/* ====== Tablet ====== */
@media (max-width: 1024px){
  body.tax-product_cat .woocommerce ul.products,
  body.tax-product_cat .woocommerce .products,
  body.post-type-archive-product .woocommerce ul.products,
  body.post-type-archive-product .woocommerce .products,
  body.tax-product_cat .elementor-widget-woocommerce-products ul.products,
  body.post-type-archive-product .elementor-widget-woocommerce-products ul.products,
  body.tax-product_cat .e-loop-container,
  body.post-type-archive-product .e-loop-container,
  body.tax-product_cat .elementor-loop-container,
  body.post-type-archive-product .elementor-loop-container{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

/* ====== Mobile ====== */
@media (max-width: 767px){
  body.tax-product_cat .woocommerce ul.products,
  body.tax-product_cat .woocommerce .products,
  body.post-type-archive-product .woocommerce ul.products,
  body.post-type-archive-product .woocommerce .products,
  body.tax-product_cat .elementor-widget-woocommerce-products ul.products,
  body.post-type-archive-product .elementor-widget-woocommerce-products ul.products,
  body.tax-product_cat .e-loop-container,
  body.post-type-archive-product .e-loop-container,
  body.tax-product_cat .elementor-loop-container,
  body.post-type-archive-product .elementor-loop-container{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  body.tax-product_cat .woocommerce ul.products > li.product a img,
  body.post-type-archive-product .woocommerce ul.products > li.product a img{
    max-width: 140px !important;
    height: 130px !important;
  }
}
/* =====================================================
   FIX GRID – Woo Category pages (ul.products.columns-4)
   Restores grid + sane card sizing (RTL friendly)
===================================================== */

/* עטיפת המוצרים */
body.tax-product_cat .woocommerce ul.products.columns-4{
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* כל מוצר */
body.tax-product_cat .woocommerce ul.products.columns-4 > li.product{
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  clear: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  box-sizing: border-box !important;

  background: #fff !important;
  border-radius: 18px !important;
  padding: 16px 14px 18px !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.08) !important;
  overflow: hidden !important;
}

/* תמונה קטנה ואחידה */
body.tax-product_cat .woocommerce ul.products.columns-4 > li.product a img{
  width: 100% !important;
  max-width: 170px !important;
  height: 150px !important;
  object-fit: contain !important;
  margin: 0 auto 10px !important;
  display: block !important;
}

/* כפתור שלא יימתח לכל המסך */
body.tax-product_cat .woocommerce ul.products.columns-4 > li.product a.button{
  width: 100% !important;
  max-width: 260px !important;
  margin: 10px auto 0 !important;
  display: inline-flex !important;
  justify-content: center !important;
  border-radius: 12px !important;
}

/* טאבלט: 2 בעמוד */
@media (max-width: 1024px){
  body.tax-product_cat .woocommerce ul.products.columns-4{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

/* מובייל: 2 בעמוד */
@media (max-width: 767px){
  body.tax-product_cat .woocommerce ul.products.columns-4{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  body.tax-product_cat .woocommerce ul.products.columns-4 > li.product a img{
    max-width: 140px !important;
    height: 130px !important;
  }
}
/* ==========================================================
   ALADIN – WOO ARCHIVE GRID OVERRIDE (PASTE LAST)
   Fixes broken layout caused by older CSS:
   - li.product forced to width:100%
   - list-style/list-item display
   - stretched buttons
   Scope: category + shop archive only
========================================================== */

/* 1) Force grid container on archives */
body.tax-product_cat .woocommerce ul.products,
body.post-type-archive-product .woocommerce ul.products,
body.tax-product_cat .woocommerce .products,
body.post-type-archive-product .woocommerce .products{
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important; /* Desktop: 4 */
  gap: 22px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

/* 2) Hard-cancel “one per row” rules */
body.tax-product_cat .woocommerce ul.products > li.product,
body.post-type-archive-product .woocommerce ul.products > li.product,
body.tax-product_cat .woocommerce .products > li.product,
body.post-type-archive-product .woocommerce .products > li.product{
  /* cancel floats/widths that break grid */
  float: none !important;
  clear: none !important;
  width: auto !important;
  max-width: none !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
  margin: 0 !important;

  /* nice card */
  background: #fff !important;
  border-radius: 18px !important;
  padding: 16px 14px 18px !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.08) !important;
  overflow: hidden !important;
  text-align: center !important;
}

/* 3) Ensure inner link doesn’t create weird blocks */
body.tax-product_cat .woocommerce ul.products > li.product a.woocommerce-LoopProduct-link,
body.post-type-archive-product .woocommerce ul.products > li.product a.woocommerce-LoopProduct-link{
  display: block !important;
  width: 100% !important;
  text-decoration: none !important;
}

/* 4) Image size – smaller + consistent */
body.tax-product_cat .woocommerce ul.products > li.product a img,
body.post-type-archive-product .woocommerce ul.products > li.product a img{
  width: 100% !important;
  max-width: 170px !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  object-fit: contain !important;
  margin: 0 auto 10px !important;
  display: block !important;
}

/* 5) Title/price tidy */
body.tax-product_cat .woocommerce ul.products > li.product .woocommerce-loop-product__title,
body.post-type-archive-product .woocommerce ul.products > li.product .woocommerce-loop-product__title{
  font-size: 15px !important;
  line-height: 1.35 !important;
  margin: 6px 0 6px !important;
  min-height: 42px !important;
}

body.tax-product_cat .woocommerce ul.products > li.product .price,
body.post-type-archive-product .woocommerce ul.products > li.product .price{
  font-size: 14px !important;
  margin: 0 0 10px !important;
}

/* 6) Button – stop full-page stretch, keep inside card */
body.tax-product_cat .woocommerce ul.products > li.product a.button,
body.post-type-archive-product .woocommerce ul.products > li.product a.button{
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;

  width: 100% !important;
  max-width: 280px !important;
  margin: 10px auto 0 !important;

  border-radius: 12px !important;
  padding: 10px 12px !important;
  box-sizing: border-box !important;
}

/* keep button at bottom of card */
body.tax-product_cat .woocommerce ul.products > li.product,
body.post-type-archive-product .woocommerce ul.products > li.product{
  align-items: center !important;
}
body.tax-product_cat .woocommerce ul.products > li.product a.button,
body.post-type-archive-product .woocommerce ul.products > li.product a.button{
  margin-top: auto !important;
}

/* 7) Tablet / Mobile columns */
@media (max-width: 1024px){
  body.tax-product_cat .woocommerce ul.products,
  body.post-type-archive-product .woocommerce ul.products{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

@media (max-width: 767px){
  body.tax-product_cat .woocommerce ul.products,
  body.post-type-archive-product .woocommerce ul.products{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
  body.tax-product_cat .woocommerce ul.products > li.product a img,
  body.post-type-archive-product .woocommerce ul.products > li.product a img{
    max-width: 140px !important;
  }
}
/* ===============================
   FINAL GRID LOCK – DO NOT MOVE
   fixes broken Woo category layout
================================ */

body.tax-product_cat .woocommerce ul.products,
body.post-type-archive-product .woocommerce ul.products{
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0,1fr)) !important;
  gap: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

/* product card */
body.tax-product_cat .woocommerce ul.products > li.product,
body.post-type-archive-product .woocommerce ul.products > li.product{
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  clear: none !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  box-sizing: border-box !important;
}

/* image */
body.tax-product_cat .woocommerce ul.products > li.product a img,
body.post-type-archive-product .woocommerce ul.products > li.product a img{
  width: 100% !important;
  max-width: 160px !important;
  height: auto !important;
  object-fit: contain !important;
  margin: 0 auto 10px !important;
}

/* button – stop stretching */
body.tax-product_cat .woocommerce ul.products > li.product a.button,
body.post-type-archive-product .woocommerce ul.products > li.product a.button{
  width: 100% !important;
  max-width: 260px !important;
  margin: 10px auto 0 !important;
  display: inline-flex !important;
  justify-content: center !important;
}

/* tablet */
@media (max-width:1024px){
  body.tax-product_cat .woocommerce ul.products,
  body.post-type-archive-product .woocommerce ul.products{
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 16px !important;
  }
}

/* mobile */
@media (max-width:767px){
  body.tax-product_cat .woocommerce ul.products,
  body.post-type-archive-product .woocommerce ul.products{
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 14px !important;
  }
/* ===== GLOBAL product grid image fix – all categories ===== */

.woocommerce ul.products li.product img,
.elementor-widget-woocommerce-products img,
.elementor-widget-loop-grid img {
  width: 100% !important;
  height: 170px !important;      /* אפשר 160–190 לפי הטעם */
  object-fit: cover !important;  /* מילוי אחיד */
  object-position: center center;
  background: #fff;
  display: block;
}

/* שמירה על גריד אחיד */
.woocommerce ul.products li.product a {
  display: block;
  overflow: hidden;
}
/* FORCE 2 PRODUCTS PER ROW ON MOBILE – GLOBAL */
@media (max-width: 767px) {

  /* כל רשימות המוצרים */
  ul.products,
  .woocommerce ul.products,
  .elementor ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }/* End custom CSS */