/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.4.4.1758181636
Updated: 2025-09-18 07:47:16
*/

/* =========================================
   JAM — Available In + Sizes + Qty + Add to Cart
   ========================================= */

/* ----- Available In (כעת מיושר לימין ו-RTL) ----- */
.jam-color-swatches{
  margin:12px 0 14px;
  direction: rtl;
  text-align: right;
}
.jam-swatches-label{
  font-family:'Cinzel',serif; font-weight:400; font-size:15px; line-height:1.2;
  margin-bottom:8px; color:#222; text-transform:uppercase; letter-spacing:.3px;
}
.jam-swatches-wrap{
  display:flex; gap:10px; align-items:center; flex-wrap:wrap;
  justify-content:flex-start;
  flex-direction: row-reverse;
}
.jam-swatch{
  display:inline-flex; justify-content:center; align-items:center;
  width:44px; height:44px; border-radius:50%; overflow:hidden;
  background:#fff; border:0.5px solid rgba(0,0,0,.18);
  transition:border-color .16s ease;
}
.jam-swatch img{ width:100%; height:100%; object-fit:contain; object-position:center; background:#fff; padding:4px; display:block; }
.jam-swatch:hover{ border-color:rgba(0,0,0,.28); }
.jam-swatch.is-current{ box-shadow:0 0 0 2px #5A5A5A; border-color:#5A5A5A; }

/* ====== בולע גליץ: הסתרה מיידית של select + label מקורי ====== */
.single-product .variations .label,
form.variations_form select[name*="attribute_"][name*="size"],
form.variations_form [data-attribute_name*="attribute_size"]{
  display:none !important;
  position:absolute !important; left:-9999px !important; top:auto;
  width:1px; height:1px; overflow:hidden;
}

/* ====== ניקוי אזור הווריאציות ====== */
.single-product form.variations_form,
.single-product .variations,
.single-product .variations tr,
.single-product .variations td,
.single-product .variations th{
  background:#fff !important; border:none !important; box-shadow:none !important;
  padding:0 !important; margin:0 !important;
}

/* ----- Choose size ----- */
.jam-size-block{
  margin:8px 0 12px;
  direction: rtl;
  text-align: right;
}
.jam-size-label{
  font-family:'Cinzel',serif; font-weight:400; font-size:15px; line-height:1.2;
  color:#222; text-transform:uppercase; letter-spacing:.3px; margin:0 0 8px;
}

.jam-size-swatches{
  display:flex; gap:10px; flex-wrap:wrap;
  direction: rtl;                 
  flex-direction: row-reverse;    
  justify-content:flex-start;     
}
.jam-size{
  width:34px; height:34px; border-radius:50%;
  border:1px solid rgba(0,0,0,.18); background:#fff !important; color:#000 !important;
  display:inline-flex; align-items:center; justify-content:center;
  font-family:'Cinzel',serif; font-weight:400; font-size:12px; line-height:1;
  letter-spacing:.5px; text-transform:uppercase;
  transition:border-color .16s ease, box-shadow .16s ease;
}
.jam-size:hover{ border-color:rgba(0,0,0,.28); color:#000 !important; }
.jam-size:focus, .jam-size:active{ background:#fff !important; outline:none; box-shadow:none; color:#000 !important; }
.jam-size.is-selected{ box-shadow:0 0 0 1.25px #5A5A5A; border-color:#5A5A5A; background:#fff !important; color:#000 !important; }
.jam-size.is-disabled{ opacity:.45; cursor:not-allowed; filter:grayscale(100%); }

/* ----- Qty (+/–) ----- */
.jam-qty{
  direction:ltr; display:inline-flex; align-items:stretch;
  background:#fff; border:1px solid rgba(0,0,0,.18);
  border-radius:9999px; overflow:hidden; min-height:44px;
}
.jam-qty button{
  width:40px; min-width:40px; border:none; background:#fff; color:#000;
  font-size:20px; line-height:1; cursor:pointer; transition:background .15s ease, color .15s ease; padding:8px 0;
}
.jam-qty button:hover{ background:#f2f2f2; }
.jam-qty input.qty{
  width:68px; text-align:center; border:none !important; box-shadow:none !important;
  padding:8px 10px; font-size:18px; line-height:1.2; appearance:textfield;
}
.jam-qty input.qty::-webkit-outer-spin-button, .jam-qty input.qty::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }

/* ----- Add to cart ----- */
.single_add_to_cart_button,
.woocommerce div.product form.cart .button{
  background:#000 !important; color:#fff !important; border:none !important;
  border-radius:9999px !important; padding:10px 22px !important;
  font-family:'heebo',serif !important; font-weight:300 !important;
  letter-spacing:.5px; text-transform:uppercase;
  transition:transform .12s ease, opacity .12s ease;
}
.single_add_to_cart_button:hover{ transform:translateY(-1px); opacity:.92; }

/* ----- רספונסיבי ----- */
@media (max-width:1024px){
  .jam-swatch{ width:40px; height:40px; } .jam-swatch img{ padding:3px; }
}
@media (max-width:768px){
  .jam-swatch{ width:36px; height:36px; } .jam-swatch img{ padding:3px; }
  .single_add_to_cart_button{ padding:9px 18px !important; }
  .jam-qty{ min-height:40px; }
  .jam-qty button{ width:36px; min-width:36px; padding:7px 0; }
  .jam-qty input.qty{ width:60px; padding:7px 8px; }
}
@media (max-width:480px){
  .jam-swatch{ width:32px; height:32px; } .jam-swatch img{ padding:2px; }
  .single_add_to_cart_button{ padding:8px 16px !important; }
  .jam-qty{ min-height:38px; }
  .jam-qty button{ width:34px; min-width:34px; padding:6px 0; }
  .jam-qty input.qty{ width:56px; padding:6px 8px; }
}

/* === CHOOSE SIZE title + tighter spacing === */
.jam-size-block::before{
  content:"CHOOSE SIZE:";
  display:block;
  font-family:'Cinzel',serif;
  font-weight:400;
  font-size:15px;
  line-height:1.2;
  color:#222;
  text-transform:uppercase;
  letter-spacing:.3px;
  margin:0 0 8px; 
  text-align: right;        
}

.jam-size-block{ margin:8px 0 10px !important; }
.jam-size-swatches{ gap:8px !important; }
.jam-size{ margin:0 !important; }

/* Align swatches rows to the right */
.single-product .jam-swatches-wrap,
.single-product .jam-size-swatches{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end !important;
  direction: rtl;                          
  margin-inline-start: auto !important;    
}

/* שמירה על כיוון התוכן בתוך העיגולים */
.single-product .jam-size{ direction: ltr; }
.single-product .jam-swatches-wrap,
.single-product .jam-size-swatches{
  flex-direction: row-reverse !important;
}

/* ===== תיקון קריטי לגלריית תמונות ===== */
body.single-product .woocommerce-product-gallery {
  width: 100% !important;
  max-width: 100% !important;
  position: relative !important;
}

body.single-product .woocommerce-product-gallery__wrapper {
  width: 100% !important;
  max-width: 100% !important;
  position: relative !important;
}

body.single-product .woocommerce-product-gallery__image {
  width: 100% !important;
  max-width: 100% !important;
}

/* וודא שכפתורי הניווט של הגלריה נראים */
body.single-product .flex-control-nav,
body.single-product .flex-direction-nav,
body.single-product .flex-control-thumbs {
  z-index: 10 !important;
  position: relative !important;
  display: flex !important;
  visibility: visible !important;
}

/* תיקון לתמונות ממוזערות */
body.single-product .flex-control-thumbs li {
  display: inline-block !important;
  margin: 0 5px !important;
}

/* ===== בסיסי לדסקטופ ===== */

/* מניעת גלילה אופקית רק בדף מוצר */
.single-product {
  overflow-x: clip;
}

/* אלמנטור עם 100vw */
.single-product [style*="100vw"] {
  width: 100% !important;
  max-width: 100% !important;
}

/* קונטיינרים בפלקס */
.single-product .elementor-container,
.single-product .elementor-row,
.single-product .elementor-column,
.single-product .woocommerce-Tabs-panel {
  min-width: 0 !important;
}

/* מדיה */
.single-product img,
.single-product svg,
.single-product video,
.single-product iframe {
  max-width: 100% !important;
  height: auto !important;
  display: block;
}

/* גלריה */
.single-product .woocommerce-product-gallery,
.single-product .woocommerce-product-gallery__wrapper {
  overflow: hidden;
}

/* ווידג'טים עם אנימציות */
.single-product [class*="marquee"],
.single-product [data-element_type="widget"] {
  overflow: clip;
}

/* sticky */
.single-product [class*="sticky"],
.single-product [class*="fixed"] {
  max-width: 100vw;
  left: 0;
  right: 0;
}
