.elementor-260 .elementor-element.elementor-element-d9d5e31{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;}.elementor-260 .elementor-element.elementor-element-39ab2fc{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-260 .elementor-element.elementor-element-f5e2a8b{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-widget-woocommerce-product-title .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-widget-woocommerce-product-add-to-cart .added_to_cart{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-260 .elementor-element.elementor-element-ddabed2 .cart button, .elementor-260 .elementor-element.elementor-element-ddabed2 .cart .button{transition:all 0.2s;}.elementor-260 .elementor-element.elementor-element-ddabed2 .quantity .qty{transition:all 0.2s;}.woocommerce .elementor-widget-woocommerce-product-price .price{color:var( --e-global-color-primary );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}@media(min-width:768px){.elementor-260 .elementor-element.elementor-element-39ab2fc{--width:50%;}.elementor-260 .elementor-element.elementor-element-f5e2a8b{--width:50%;}}/* Start custom CSS *//* ===================================================================
   חשמל מהשטח · עיצוב עמוד מוצר (Elementor Pro Single Product)
   ------------------------------------------------------------------
   תן classes לוידג'טים (Advanced → CSS Classes):
     • הקונטיינר/Section הראשי →  ymf-prod
     • פירורי לחם (Breadcrumbs) →  ymf-prod-crumbs
     • גלריית התמונות           →  ymf-prod-gallery
     • כותרת המוצר (Title)       →  ymf-prod-title
     • מחיר (Price)              →  ymf-prod-price
     • תיאור קצר (Short Desc)    →  ymf-prod-excerpt
   להדבקה ב: עורך התבנית → Advanced → Custom CSS.
   הכל ב-REM, צבעי מותג, נעול נגד התבנית.
=================================================================== */

.ymf-prod{
  --d:#15120D; --gold:#E3B324; --gold-d:#C2992C; --gold-ink:#A67E1F;
  --cream:#FAF7F0; --soft:#FBF4DE; --line:#ECE7DB; --line2:#E5DFD2;
  --ink2:#3A332A; --ink3:#6A6051; --muted:#857B6C;
}

/* ===== קונטיינר העמוד — רוחב תואם לאתר וממורכז ===== */
.ymf-prod{
  max-width:75rem !important;
  margin-inline:auto !important;
  width:100% !important;
  padding-inline:1.5rem !important;
}

/* ===== פירורי לחם ===== */
.ymf-prod-crumbs,
.ymf-prod-crumbs .woocommerce-breadcrumb,
.ymf-prod-crumbs nav{
  font-size:.875rem !important;
  color:var(--muted) !important;
  margin-bottom:1.25rem !important;
  font-weight:500 !important;
}
.ymf-prod-crumbs a{ color:var(--muted) !important; text-decoration:none !important; transition:color .2s !important; }
.ymf-prod-crumbs a:hover{ color:var(--gold-ink) !important; }

/* ===== גלריית התמונות ===== */
.ymf-prod-gallery .woocommerce-product-gallery{ margin:0 !important; }
.ymf-prod-gallery .woocommerce-product-gallery__image,
.ymf-prod-gallery .woocommerce-product-gallery__wrapper{
  border-radius:1.125rem !important; overflow:hidden !important;
}
.ymf-prod-gallery .woocommerce-product-gallery__image img,
.ymf-prod-gallery img{
  border-radius:1.125rem !important;
  background:var(--cream) !important;
  border:.0625rem solid var(--line) !important;
}
/* תמונות ממוזערות (thumbnails) */
.ymf-prod-gallery .flex-control-thumbs{ margin-top:.75rem !important; gap:.5rem !important; display:flex !important; flex-wrap:wrap !important; padding:0 !important; }
.ymf-prod-gallery .flex-control-thumbs li{ margin:0 !important; width:auto !important; }
.ymf-prod-gallery .flex-control-thumbs img{
  width:4.5rem !important; height:4.5rem !important; object-fit:cover !important;
  border-radius:.625rem !important; border:.0625rem solid var(--line) !important;
  opacity:.7 !important; transition:opacity .2s, border-color .2s !important; cursor:pointer !important;
}
.ymf-prod-gallery .flex-control-thumbs img:hover,
.ymf-prod-gallery .flex-control-thumbs .flex-active{ opacity:1 !important; border-color:var(--gold-d) !important; }
/* כפתור זום/לייטבוקס */
.ymf-prod-gallery .woocommerce-product-gallery__trigger{
  background:#fff !important; border-radius:999px !important;
  border:.0625rem solid var(--line) !important;
  box-shadow:0 .25rem .75rem -.25rem rgba(21,18,13,.25) !important;
  color:var(--d) !important;
}
.ymf-prod-gallery .woocommerce-product-gallery__trigger:hover{
  background:var(--gold) !important; color:var(--d) !important;
}

/* ===== כותרת המוצר ===== */
.ymf-prod-title,
.ymf-prod-title h1,
.ymf-prod-title h2,
.ymf-prod-title .product_title{
  font-weight:800 !important;
  font-size:2.25rem !important;
  line-height:1.15 !important;
  letter-spacing:-.01em !important;
  color:var(--d) !important;
  margin:0 0 .75rem !important;
  text-align:right !important;
}

/* ===== מחיר ===== */
.ymf-prod-price,
.ymf-prod-price .price,
.ymf-prod-price .woocommerce-Price-amount,
.ymf-prod-price .amount{
  color:var(--d) !important;
  font-weight:800 !important;
  text-align:right !important;
}
.ymf-prod-price .price,
.ymf-prod-price .amount{ font-size:2rem !important; }
.ymf-prod-price del,
.ymf-prod-price del .amount{ color:var(--muted) !important; font-weight:500 !important; font-size:1.25rem !important; }
.ymf-prod-price ins{ text-decoration:none !important; }
/* תג מבצע אם קיים */
.ymf-prod-price .onsale,
.ymf-prod .onsale{
  background:var(--gold) !important; color:var(--d) !important;
  border-radius:999px !important; font-weight:700 !important;
  padding:.25rem .75rem !important; border:none !important; min-height:auto !important;
}

/* ===== תיאור קצר ===== */
.ymf-prod-excerpt,
.ymf-prod-excerpt p,
.ymf-prod-excerpt .woocommerce-product-details__short-description,
.ymf-prod-excerpt .woocommerce-product-details__short-description p{
  font-size:1.0625rem !important;
  line-height:1.8 !important;
  color:var(--ink3) !important;
  text-align:right !important;
}
.ymf-prod-excerpt ul{ padding-inline-start:1.25rem !important; margin:.75rem 0 !important; }
.ymf-prod-excerpt li{ color:var(--ink2) !important; line-height:1.7 !important; margin-bottom:.375rem !important; }

/* ===================================================================
   ===== Add to Cart — כמות יפה (+/-) + כפתור =====
   סמן את וידג'ט ה-Add to Cart ב-class:  ymf-prod-cart
=================================================================== */
.ymf-prod-cart form.cart{
  display:flex !important; align-items:stretch !important; gap:.75rem !important;
  flex-wrap:wrap !important; margin:0 !important;
}

/* תיבת הכמות */
.ymf-prod-cart .quantity{
  display:flex !important; align-items:stretch !important;
  border:.0625rem solid var(--line2) !important; border-radius:.75rem !important;
  overflow:hidden !important; background:#fff !important; position:relative !important;
}
.ymf-prod-cart .quantity input.qty{
  width:3.5rem !important; border:none !important; text-align:center !important;
  font-size:1.0625rem !important; font-weight:700 !important; color:var(--d) !important;
  background:#fff !important; padding:0 !important; margin:0 !important;
  -moz-appearance:textfield !important; box-shadow:none !important;
}
.ymf-prod-cart .quantity input.qty::-webkit-outer-spin-button,
.ymf-prod-cart .quantity input.qty::-webkit-inner-spin-button{
  -webkit-appearance:none !important; margin:0 !important;
}
/* כפתורי +/- שמוסיף ה-JS */
.ymf-prod-cart .ymf-qty-btn{
  width:2.75rem !important; border:none !important; background:var(--cream) !important;
  color:var(--d) !important; font-size:1.375rem !important; font-weight:700 !important;
  cursor:pointer !important; display:flex !important; align-items:center !important; justify-content:center !important;
  transition:background .2s, color .2s !important; line-height:1 !important; box-shadow:none !important; padding:0 !important;
  -webkit-appearance:none !important;
}
.ymf-prod-cart .ymf-qty-btn:hover,
.ymf-prod-cart .ymf-qty-btn:focus{ background:var(--gold) !important; color:var(--d) !important; outline:none !important; }
.ymf-prod-cart .ymf-qty-btn:active{ background:var(--gold-d) !important; color:#fff !important; }

/* כפתור הוסף לסל */
.ymf-prod-cart button.single_add_to_cart_button,
.ymf-prod-cart .single_add_to_cart_button{
  flex:1 !important; min-width:12rem !important;
  background:var(--d) !important; color:#fff !important;
  font-weight:700 !important; font-size:1.0625rem !important;
  padding:0 2rem !important; border:none !important; border-radius:.75rem !important;
  box-shadow:none !important; text-shadow:none !important; cursor:pointer !important;
  transition:background .2s, transform .2s !important; min-height:3.25rem !important;
}
.ymf-prod-cart button.single_add_to_cart_button:hover,
.ymf-prod-cart .single_add_to_cart_button:hover,
.ymf-prod-cart .single_add_to_cart_button:focus{
  background:var(--gold-d) !important; color:#fff !important; transform:translateY(-.0625rem) !important; box-shadow:none !important;
}

/* ===== רספונסיב ===== */
@media (max-width:48rem){
  .ymf-prod{ padding-inline:1rem !important; }
  .ymf-prod-title,.ymf-prod-title h1{ font-size:1.75rem !important; }
  .ymf-prod-price .price,.ymf-prod-price .amount{ font-size:1.625rem !important; }
  .ymf-prod-gallery .flex-control-thumbs img{ width:3.5rem !important; height:3.5rem !important; }

  /* כמות בשורה אחת, כפתור הוספה בשורה מתחתיה ברוחב מלא */
  .ymf-prod-cart form.cart{ flex-direction:column !important; align-items:stretch !important; gap:.875rem !important; }
  .ymf-prod-cart .quantity{ align-self:flex-start !important; }
  .ymf-prod-cart .ymf-qty-btn{ width:3rem !important; }
  .ymf-prod-cart button.single_add_to_cart_button{ width:100% !important; min-width:0 !important; }
}/* End custom CSS */