/** Shopify CDN: Minification failed

Line 21:20 Unexpected "{"
Line 21:29 Expected ":"
Line 31:20 Unexpected "{"
Line 31:29 Expected ":"
Line 38:20 Unexpected "{"
Line 38:29 Expected ":"
Line 45:20 Unexpected "{"
Line 45:29 Expected ":"
Line 46:20 Unexpected "{"
Line 46:29 Expected ":"
... and 38 more hidden warnings

**/
@media screen and (max-width: 740px) {

  /* -----------------------------------------------------------
     1. הגדרות בסיס לרשת המוצרים (מתיחה מלאה)
     ----------------------------------------------------------- */
  #shopify-section-{{ section.id }} .product-list__inner {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-1 * ((100vw - 100%) / 2)) !important;
    margin-right: calc(-1 * ((100vw - 100%) / 2)) !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  /* גריד 2 עמודות */
  #shopify-section-{{ section.id }} .product-list__inner:not(.view-1-col) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 3px !important;
  }

  /* גריד עמודה 1 */
  #shopify-section-{{ section.id }} .product-list__inner.view-1-col {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* עיצוב התמונות והכרטיסיות */
  #shopify-section-{{ section.id }} .product-item,
  #shopify-section-{{ section.id }} .product-item__image-wrapper {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
  }

  #shopify-section-{{ section.id }} .product-item__image-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* -----------------------------------------------------------
     2. תיקון סרגל הכלים (META BAR) - מיקום אבסולוטי (FORCE)
     ----------------------------------------------------------- */
  
  /* המיכל של הסרגל - חייב להיות RELATIVE כדי שהילדים יתייחסו אליו */
  #shopify-section-{{ section.id }} .product-facet__meta-bar {
    position: relative !important; /* קריטי! */
    display: flex !important;
    height: 50px !important; /* גובה קבוע כדי שיהיה מקום */
    align-items: center !important;
    width: 100% !important;
    padding: 0 !important;
    margin-bottom: 10px !important;
    overflow: visible !important;
  }

  /* >>> כפתורי התצוגה - ממוסמרים לימין (0 פיקסלים מהקצה) <<< */
  #shopify-section-{{ section.id }} .mobile-view-switcher {
    position: absolute !important;
    right: 10px !important;         /* צמוד לימין */
    top: 50% !important;         /* ממורכז לגובה */
    transform: translateY(-50%) !important;
    
    display: flex !important;
    gap: 0 !important;
    z-index: 5 !important;
  }

  /* >>> כמות המוצרים - ממוסמרת לשמאל (15 פיקסלים מהקצה) <<< */
  #shopify-section-{{ section.id }} .product-facet__meta-bar-item--count {
    position: absolute !important;
    left: 15px !important;       /* צמוד לשמאל */
    top: 50% !important;         /* ממורכז לגובה */
    transform: translateY(-50%) !important;
    
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    z-index: 5 !important;
    width: auto !important;
  }

  /* הסתרת אלמנטים מפריעים אחרים בסרגל */
  #shopify-section-{{ section.id }} .product-facet__meta-bar-item--sort,
  #shopify-section-{{ section.id }} .product-facet__meta-bar-item--filter {
    visibility: hidden !important; /* מסתיר אותם כדי שלא יפריעו למיקום */
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }


  /* -----------------------------------------------------------
     3. עיצוב הכפתורים עצמם
     ----------------------------------------------------------- */
  #shopify-section-{{ section.id }} .mobile-view-switcher .view-btn {
    background: #ffffff !important;
    border: 1px solid #000000 !important;
    width: 36px !important;
    height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #cccccc !important;
    cursor: pointer !important;
    padding: 0 !important;
  }

  #shopify-section-{{ section.id }} .mobile-view-switcher .view-btn[data-view="2"] {
    border-right: none !important;
  }

  #shopify-section-{{ section.id }} .mobile-view-switcher .view-btn.active {
    background: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
  }

  /* -----------------------------------------------------------
     4. More Colors (סליידר צבעים)
     ----------------------------------------------------------- */
  #shopify-section-{{ section.id }} .IsolatedMoreColor__List {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 8px !important;
    scrollbar-width: none !important;
  }
  #shopify-section-{{ section.id }} .IsolatedMoreColor__List::-webkit-scrollbar { display: none !important; }
  
  #shopify-section-{{ section.id }} .IsolatedMoreColor__Item {
    flex: 0 0 auto !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    border: 1px solid #ddd !important;
    overflow: hidden !important;
  }
  #shopify-section-{{ section.id }} .IsolatedMoreColor__Item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  #shopify-section-{{ section.id }} .IsolatedMoreColor__MoreBtn--desktop { display: none !important; }
  #shopify-section-{{ section.id }} .IsolatedMoreColor__MoreBtn--mobile {
    flex: 0 0 auto !important;
    height: 34px !important;
    min-width: 34px !important;
    line-height: 34px !important;
    border-radius: 50% !important;
    border: 1px solid #ccc !important;
    font-size: 11px !important;
    padding: 0 8px !important;
  }
}

/* הסתרה במחשב */
@media screen and (min-width: 741px) {
  #shopify-section-{{ section.id }} .mobile-view-switcher { display: none !important; }
}
@media screen and (max-width: 740px) {

  /* מיקום הלב (Wishlist) - רק בתצוגת עמודה 1 */
  #shopify-section-{{ section.id }} .product-list__inner.view-1-col .wishlist-heart--card {
    position: absolute !important;
    top: 5px !important;        /* מרווח מלמעלה */
    right: 330px !important;       /* צד שמאל */
    
    width: 30px !important;      /* רוחב העיגול */
    height: 30px !important;     /* גובה העיגול */
    
    background:rgb(255, 255, 255) !important; /* רקע לבן */
    border: 1px solid #000000 !important; /* מסגרת שחורה */
    border-radius: 50% !important; /* עיגול מושלם */
    
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    z-index: 20 !important;      /* שכבה עליונה מעל התמונה */
    box-shadow: 2px 2px 8px rgba(0,0,0,0.15) !important; /* צל עדין */
  }

  /* התאמת גודל האייקון בתוך העיגול */
  #shopify-section-{{ section.id }} .product-list__inner.view-1-col .wishlist-heart__icon {
    width: 18px !important;
    height: 18px !important;
    stroke: #000000 !important;
    stroke-width: 1.5px !important;
  }
}
@media screen and (max-width: 740px) {

  /* שליטה במיקום בועת המידות - תצוגת מוצר 1 בלבד */
  #shopify-section-{{ section.id }} .product-list__inner.view-1-col .sizes-overlay {
    position: absolute !important;
    
    /* שליטה בגובה: תשנה את המספר הזה כדי להוריד/להעלות */
    bottom: 150px !important; 
    top: auto !important; /* מבטל הצמדה לחלק העליון */

    /* שליטה בצדדים: כרגע צמוד לימין */
    right: 3px !important; 
    left: auto !important;

/* --- הקטנת הרוחב כאן --- */
    width: 35px !important; /* שנה את זה כדי להצר/להרחיב (במקור זה בערך 50px) */
    min-width: 0 !important;
    
    padding: 2px 0 !important; /* צמצום רווחים פנימיים */
    z-index: 20 !important;
  }
    /* עיצוב כללי שיהיה ברור */
    z-index: 20 !important;
    transform: none !important;
  }
