/* Homepage-only styles — hot products mobile: header lines stretch v20260601 */
html, body {
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

html {
  font-size: 16px;
}

/* שלוש כותרות המקטעים בדף הבית — גודל זהה בכל רוחב מסך */
:root {
  --homepage-section-title-size: 60px;
  --homepage-title-content-gap: 6px;
  --homepage-title-content-offset: 18px;
}

.best-seller-title,
.how-it-works-title,
.instagram-title {
  font-size: var(--homepage-section-title-size) !important;
  line-height: 1.1 !important;
}

/* ריווח מעל ומתחת לכותרת מקטע (איך זה עובד + אינסטגרם) */
.how-it-works-title,
.instagram-title {
  padding: 18px 8px 14px;
  box-sizing: border-box;
}

/* רווח כותרת–תוכן זהה בכל שלושת המקטעים (כמו במוצרים החמים) */
.best-seller-section,
.how-it-works-section,
.instagram-section {
  gap: var(--homepage-title-content-gap) !important;
}

.best-seller-list,
.how-it-works-steps,
.instagram-gallery {
  margin-top: var(--homepage-title-content-offset) !important;
}

    /* נגישות - ניגודיות צבעים מינימלית 4.5:1 */
    body {
      color: #2C2C2C; /* צבע טקסט כהה יותר לניגודיות טובה */
    }
    
    .nav-link {
      color: #FFFFFF !important; /* לבן על רקע חום כהה */
    }
    
    .product-title {
      color: #5D4037 !important;
      text-decoration: none !important;
    }
    
    .best-seller-model {
      color: #2C2C2C !important; /* צבע כהה יותר על רקע לבן */
    }
    
    .best-seller-price {
      color: #2C2C2C !important; /* צבע כהה יותר על רקע לבן */
    }
    
    .how-step-title {
      color: #2C2C2C !important; /* צבע כהה יותר על רקע לבן */
    }
    
    .how-step-desc {
      color: #2C2C2C !important; /* צבע כהה יותר על רקע לבן */
    }
    
    .instagram-title {
      color: #2C2C2C !important; /* צבע כהה יותר על רקע לבן */
    }
    
    .copyright-text {
      color: #2C2C2C !important; /* צבע כהה יותר על רקע לבן */
    }
    
    /* נגישות - focus states */
    *:focus {
      outline: 2px solid #4C8467 !important;
      outline-offset: 2px !important;
    }
    
    /* נגישות - hover states */
    button:hover,
    a:hover {
      opacity: 0.8;
    }
    
    /* נגישות - תמיכה במקלדת */
    button:focus-visible,
    a:focus-visible {
      outline: 3px solid #4C8467 !important;
      outline-offset: 3px !important;
    }
    
    /* נגישות - תמיכה ב-zoom עד 200% */
    @media screen and (max-width: 1200px) {
      .body-center {
        max-width: 100%;
        padding: 0 10px;
      }
      
      .slider-section {
        padding: 0 5vw;
      }
      
      .product-grid-section {
        gap: 15px;
        padding: 15px;
      }
    }
    
    @media screen and (max-width: 900px) {
      .body-center {
        padding: 0 5px;
      }
      
      .slider-section {
        padding: 0 2vw;
      }
      
      .product-grid-section {
        gap: 10px;
        padding: 10px;
      }
    }
    
    /* נגישות - אזור הודעות נסתר */
    .sr-only {
      position: absolute !important;
      width: 1px !important;
      height: 1px !important;
      padding: 0 !important;
      margin: -1px !important;
      overflow: hidden !important;
      clip: rect(0, 0, 0, 0) !important;
      white-space: nowrap !important;
      border: 0 !important;
    }
    
    /* נגישות - skip link */
    .skip-link {
      position: absolute;
      top: -40px;
      left: 6px;
      background: #4C8467;
      color: white;
      padding: 8px;
      text-decoration: none;
      border-radius: 4px;
      z-index: 10000;
      transition: top 0.3s;
    }
    
    .skip-link:focus {
      top: 6px;
    }
    
    body {
      background: #F9F1DC;
      overflow: hidden auto !important;
      margin: 0 !important;
      padding: 0 !important;
      height: auto !important;
      max-height: none !important;
      width: 100% !important;
    }
    
    *, *::before, *::after {
      box-sizing: border-box;
    }
    
    /* גלילה תקינה */
    html {
      overflow-x: hidden !important;
      overflow-y: auto !important;
      height: 100% !important;
      width: 100% !important;
      max-width: 100vw !important;
    }
    
    body {
      overflow-x: hidden !important;
      overflow-y: auto !important;
      height: 100% !important;
      width: 100% !important;
      max-width: 100vw !important;
    }
    
    .body-center {
      direction: rtl !important;
      width: 100% !important;
      height: auto !important;
      max-height: none !important;
    }
    
    @media (max-width: 900px) {
      html, body {
        -webkit-overflow-scrolling: touch !important;
      }
      
      * {
        -webkit-overflow-scrolling: touch !important;
        box-sizing: border-box !important;
      }
    }
    .body-center {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      height: auto;
      width: 100%;
      max-width: 100vw;
      overflow-x: hidden;
    }
    /* Header */
    .slider-section {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      padding: 0 10vw;
      width: 100%;
      max-width: 100vw;
      height: auto;
      position: relative;
      box-sizing: border-box;
      overflow: hidden;
    }
    .slider-imgs {
      width: 100%;
      max-width: 720px;
      height: 460px;
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
      margin: 0 auto;
      overflow: hidden;
      background: transparent;
    }
    .slider-img {
      width: 100%;
      max-width: 720px;
      height: 460px;
      background-size: cover;
      background-position: center;
      position: absolute;
      left: 0;
      top: 0;
      opacity: 0;
      transition: opacity 0.7s;
      z-index: 1;
    }
    .slider-img.active {
      opacity: 1;
      z-index: 2;
    }
    .slider-dots {
      position: absolute;
      left: 50%;
      bottom: 12px;
      transform: translateX(-50%);
      width: auto;
      min-width: 72px;
      height: 8px;
      display: flex;
      gap: 8px;
      justify-content: center;
      z-index: 3;
    }
    .slider-dot {
      width: 8px;
      height: 8px;
      border: 2px solid #fff;
      background: transparent;
      border-radius: 50%;
      opacity: 0.7;
      cursor: pointer;
      transition: opacity 0.3s, background 0.3s;
    }
    .slider-dot.active {
      background: #fff;
      border: 2px solid #fff;
      opacity: 1;
    }
    .slider-dot:focus-visible {
      outline: 2px solid #4C8467;
      outline-offset: 2px;
    }
    .slider-dot:focus {
      background: #fff;
      border: 2px solid #fff;
      opacity: 1;
    }
    .slider-dot:focus:not(.active) {
      background: #4C8467;
      border: 2px solid #4C8467;
      opacity: 1;
    }
    .slider-arrow {
      position: absolute;
      top: 50%;
      background: none;
      border: none;
      width: 40px;
      height: 40px;
      font-size: 32px;
      color: white;
      cursor: pointer;
      z-index: 4;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      visibility: hidden;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    }
    .slider-section:hover .slider-arrow {
      opacity: 1;
      visibility: visible;
    }
    .slider-arrow-left {
      left: calc(50% - 360px);
      transform: translateY(-50%);
    }
    .slider-arrow-right {
      right: calc(50% - 360px);
      transform: translateY(-50%);
    }
    .slider-stop-btn {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: rgba(0, 0, 0, 0.7);
      color: white;
      border: none;
      border-radius: 50%;
      width: 50px;
      height: 50px;
      font-size: 20px;
      cursor: pointer;
      z-index: 10;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s;
      opacity: 0;
      visibility: hidden;
    }
    .slider-section:hover .slider-stop-btn {
      opacity: 1;
      visibility: visible;
    }
    .slider-stop-btn:hover {
      background: rgba(0, 0, 0, 0.9);
    }
    .slider-stop-btn:focus-visible {
      outline: 2px solid #4C8467;
      outline-offset: 2px;
      opacity: 1;
      visibility: visible;
    }
    @media (max-width: 600px) {
      .slider-section {
        height: auto;
        padding: 0 12px;
      }
      .slider-imgs {
        max-width: 100%;
        width: 100%;
        height: min(52vw, 280px);
      }
      .slider-img {
        max-width: 100%;
        width: 100%;
        height: min(52vw, 280px);
      }
      .slider-dots {
        bottom: 8px;
        gap: 6px;
      }
      .slider-dot {
        width: 7px;
        height: 7px;
      }
      .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 22px;
        opacity: 1;
        visibility: visible;
      }
      .slider-arrow-left {
        left: 8px;
        right: auto;
        transform: translateY(-50%);
      }
      .slider-arrow-right {
        right: 8px;
        left: auto;
        transform: translateY(-50%);
      }
      .slider-stop-btn {
        opacity: 0.85;
        visibility: visible;
        width: 40px;
        height: 40px;
        font-size: 16px;
      }
    }
    /* Shop Now Button Section */
    .shop-now-section {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center; 
      padding: 0 20vw;
      margin-top: 0;
      width: 100%;
      max-width: 100vw;
      height: 100px;
      position: relative;
      box-sizing: border-box;
    }
    .shop-now-group {
      position: relative;
      width: 220px;
      height: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .shop-now-bg {
      position: absolute;
      align-items: center;
      width: 220px;
      height: 60px;
      background: #4C8467; /* שינוי לירוק-כחול כהה שעומד בתנאי הנגישות */
      z-index: 0;
      border-radius: 10px;
    }
    .shop-now-border {
      position: absolute;
      align-items: center;
      width: 200px;
      height: 44px;
      border: 3px solid #fff;
      z-index: 1;
      border-radius: 8px;
    }
    .shop-now-btn {
      /* position: absolute; */
      width: 150px;
      height: 60px;
      font-family: 'Amatica SC', cursive;
      font-weight: 700;
      font-size: 32px;
      line-height: 60px;
      display: flex;
      align-items: center;
      text-align: center;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: #fff;
      border: 1px solid transparent;
      background: transparent;
      z-index: 2;
      justify-content: center;
      cursor: pointer;
      border-radius: 8px;
    }
    /* Product Grid Section */
    .product-grid-section {
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      margin-left: 10px;
      margin-right: 10px;
      padding: 20px;
      gap: 20px;
      width: 100%;
      max-width: 100vw;
      height: 387px;
      background: #D3B895;
      box-sizing: border-box;

    }
    .product-card {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      width: 280px;
      height: 280px;
      background: #fff;
      border-radius: 12px;
      box-shadow: none !important;
      text-decoration: none !important;
    }
    .product-card:focus, .product-card:active, .product-card:hover, .product-card .product-title {
      text-decoration: none !important;
      outline: none !important;
    }
    .product-card:link,
    .product-card:visited,
    .product-card:active,
    .product-card:focus,
    .product-card:hover {
      color: #5D4037 !important;
      text-decoration: none !important;
    }
    .product-title {
      width: 280px;
      height: 77px;
      font-family: 'Amatica SC', cursive;
      font-weight: 700;
      font-size: 50px;
      line-height: 80px;
      display: flex;
      align-items: center;
      text-align: center;
      padding: 0 20px;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: #5D4037;
      margin: 0;
      justify-content: center;
      text-decoration: none;
    }
    .product-img {
      width: 250px;
      height: 250px;
      margin-bottom: 5px;
      background-repeat: no-repeat;
      background-position: center;
      background-size: contain;
      border-radius: 8px;
    }
    /* Best Seller Section */
    .best-seller-section {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 0;
      gap: var(--homepage-title-content-gap);
      width: 100%;
      max-width: 100vw;
      height: 450px;
      margin-bottom: 32px;
      box-sizing: border-box;
    }
    .best-seller-header {
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      width: 100%;
      max-width: 100vw;
      height: auto;
      min-height: 64px;
      gap: 16px;
      flex-wrap: nowrap;
      box-sizing: border-box;
    }
    .best-seller-line {
      flex: 1 1 60px;
      width: auto;
      max-width: 570px;
      min-width: 24px;
      height: 0;
      border: 3px solid #5D4037; /* שינוי מ-#775A47 ל-#5D4037 לניגודיות טובה יותר */
    }
    .best-seller-title {
      width: auto;
      max-width: none;
      height: auto;
      min-height: 0;
      font-family: 'Amatica SC', cursive;
      font-weight: 700;
      font-size: 60px;
      line-height: 1.1;
      display: flex;
      align-items: center;
      text-align: center;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: #5D4037; /* שינוי מ-#775A47 ל-#5D4037 לניגודיות טובה יותר */
      justify-content: center;
      white-space: nowrap;
      flex-shrink: 0;
      padding: 0 8px;
    }
    .best-seller-scroll {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 12px;
      box-sizing: border-box;
    }

    .best-seller-list {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 12px;
      width: 100%;
      max-width: 1200px;
      margin: var(--homepage-title-content-offset) auto 0 auto;
      box-sizing: border-box;
      direction: rtl;
      transform: none;
      justify-items: center;
      justify-content: center;
      padding: 0;
    }

    .best-seller-edge {
      display: none;
    }

    .best-seller-card {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 6px 16px 10px;
      gap: 8px;
      width: 190px; /* Slightly smaller to fit with margins */
      height: 300px;
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.04);
      position: relative;
      overflow: hidden;
      cursor: pointer;
      transform: none;
    }

    .best-seller-img {
      width: 170px; /* Adjusted for new card width */
      height: 170px;
      background-color: #000;
      border-radius: 12px;
      margin-top: 0;
      padding: 8px;
      box-sizing: border-box;
      background-origin: content-box;
      background-clip: content-box;
      background-size: contain;
      background-position: center center;
      background-repeat: no-repeat;
    }

    /* מטקה — אותו ריבוע ויישור כמו שש בש; רקע לבן */
    .best-seller-card--matka .best-seller-img {
      background-color: #fff !important;
    }

    .best-seller-model {
      width: 170px;
      height: 30px;
      font-family: 'Amatic SC', cursive;
      font-weight: 700;
      font-size: 22px;
      line-height: 30px;
      display: flex;
      align-items: center;
      text-align: center;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: #1A1A1A; /* שינוי מ-#000 ל-#1A1A לניגודיות טובה יותר עם רקע לבן */
      justify-content: center;
      margin: 0;
    }

    .best-seller-card-meta {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      width: 100%;
      gap: 2px;
    }

    .best-seller-line2 {
      width: 14px;
      height: 0;
      border: none;
      border-top: 1px solid #1A1A1A;
      margin: 2px auto;
      flex-shrink: 0;
    }

    .best-seller-price {
      width: 48px;
      height: 18px;
      font-family: 'Amatic SC', cursive;
      font-weight: 700;
      font-size: 18px;
      line-height: 20px;
      display: flex;
      align-items: center;
      text-align: center;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: #1A1A1A; /* שינוי מ-#000 ל-#1A1A לניגודיות טובה יותר */
      justify-content: center;
    }

    .best-seller-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(255,255,255,0.85);
      border-radius: 12px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s;
      z-index: 2;
      padding-bottom: 18px;
    }

    .best-seller-card:hover .best-seller-overlay {
      opacity: 1;
      pointer-events: auto;
    }

    .best-seller-overlay-qty-group {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      position: absolute;
      left: 50%;
      top: 25%;
      transform: translate(-50%, 0);
      margin: 0;
      gap: 8px;
      background: none;
      border: none;
      padding: 0;
      z-index: 3;
    }

    .best-seller-overlay-qty-btn {
      background: none;
      border: none;
      color: #4C8467; /* שינוי לירוק-כחול כהה שעומד בתנאי הנגישות */
      font-size: 28px;
      font-family: 'Amatica SC', cursive;
      font-weight: bold;
      width: 32px;
      height: 32px;
      border-radius: 0;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: color 0.2s;
      margin: 0 2px;
      padding: 0;
      user-select: none;
      -webkit-user-select: none;
      -moz-user-select: none;
      -ms-user-select: none;
    }

    .best-seller-overlay-qty-btn:hover {
      color: #8B6B47; /* שינוי לחום כהה שעומד בתנאי הנגישות */
    }

    .best-seller-overlay-qty-num {
      font-family: 'Amatica SC', cursive;
      font-size: 36px;
      color: #4C8467; /* שינוי לירוק-כחול כהה שעומד בתנאי הנגישות */
      font-weight: bold;
      min-width: 32px;
      text-align: center;
      margin: 0 8px;
      background: none;
      border: none;
    }

    .best-seller-overlay-btns {
      display: flex;
      flex-direction: column;
      gap: 6px;
      width: 90%;
      align-items: center;
      position: absolute;
      left: 5%;
      right: 5%;
      bottom: 28px;
      z-index: 4;
    }

    .best-seller-btn {
      font-family: 'Amatica SC', cursive;
      font-size: 20px;
      font-weight: 700;
      padding: 6px 0;
      border-radius: 8px;
      border: 2px solid #fff;
      cursor: pointer;
      transition: color 0.2s;
      background: #4C8467; /* שינוי לירוק-כחול כהה שעומד בתנאי הנגישות */
      color: #fff;
      box-shadow: 0 1px 4px rgba(0,0,0,0.06);
      width: 90%;
      margin: 0;
      text-decoration: none !important;
    }

    .best-seller-btn.view,
    .best-seller-btn.view:hover,
    .best-seller-btn:visited {
      text-decoration: none !important;
      background: #8B6B47; /* שינוי לחום כהה שעומד בתנאי הנגישות */
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .best-seller-btn.add {
      background: #2E7D32; /* שינוי מ-#5EA189 ל-#2E7D32 לניגודיות טובה יותר */
    }

    .best-seller-btn.add:hover {
      background: #3D6B4A; /* שינוי לירוק כהה יותר שעומד בתנאי הנגישות */
      color: #fff;
    }

    .best-seller-btn.view:hover {
      background: #7A5A3A; /* שינוי לחום כהה יותר שעומד בתנאי הנגישות */
      color: #fff;
    }
    
    /* Mobile responsive styles for overlay buttons */
    @media (max-width: 1250px) {
      .best-seller-overlay-qty-group {
        top: 20% !important;
      }
      
      .best-seller-overlay-btns {
        bottom: 15px !important;
      }
    }
    /* How It Works Section */
    .how-it-works-section {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 0;
      gap: var(--homepage-title-content-gap);
      width: 100%;
      max-width: 100vw;
      min-height: 320px;
      background: #D3B895;
      box-sizing: border-box;
      position: relative;
      overflow: hidden;
    }

    .how-it-works-title {
      width: auto;
      max-width: none;
      height: auto;
      font-family: 'Amatica SC', cursive;
      font-weight: 700;
      font-size: 60px;
      display: flex;
      align-items: center;
      text-align: center;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: #5D4037; /* שינוי מ-#775A47 ל-#5D4037 לניגודיות טובה יותר */
      justify-content: center;
      margin: 0;
      white-space: nowrap;
      flex-shrink: 0;
    }

    .how-it-works-steps {
      display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 15px;
      width: 100%;
      max-width: 1100px;
      padding: 0;
      box-sizing: border-box;
    }

    .how-step {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 8px 10px 10px;
      background: rgba(255, 255, 255, 0.95);
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
      transition: transform 0.2s ease;
      position: relative;
      overflow: hidden;
      min-height: 108px;
    }

    .how-step:hover {
      transform: translateY(-3px);
    }

    .how-step::before {
      content: '';
      position: absolute;
      top: 0;
      left: auto;
      right: 0;
      width: 3px;
      height: 100%;
      background: #4C8467; /* שינוי לירוק-כחול כהה שעומד בתנאי הנגישות */
      opacity: 0.8;
    }

    .how-step-circle {
      width: 40px;
      height: 40px;
      background: #4C8467; /* שינוי לירוק-כחול כהה שעומד בתנאי הנגישות */
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 0 6px 0;
      position: relative;
      box-shadow: 0 2px 6px rgba(76,132,103,0.2); /* עדכון הצללה לצבע החדש */
    }

    .how-step-number {
      font-family: 'Rubik', sans-serif;
      font-weight: 700;
      font-size: 24px;
      color: #fff;
      line-height: 1;
    }

    .how-step-title {
      font-family: 'Amatica SC', cursive;
      font-weight: 900;
      font-size: 24px;
      color: #5D4037; /* שינוי מ-#775A47 ל-#5D4037 לניגודיות טובה יותר */
      margin: 0 0 6px 0;
      text-align: center;
      line-height: 1.1;
    }

    .how-step-desc {
      font-family: 'Amatica SC', cursive;
      font-weight: 700;
      font-size: 18px;
      color: #4E342E; /* שינוי מ-#5C4638 ל-#4E342E לניגודיות טובה יותר */
      text-align: center;
      line-height: 1.2;
      margin: 0;
      opacity: 0.9;
    }

    @media (min-width: 901px) {
      .how-it-works-section {
        justify-content: center;
        padding: 0 32px 44px;
        min-height: 0;
      }

      .how-it-works-steps {
        width: min(1100px, 92vw);
        margin-left: auto;
        margin-right: auto;
        padding: 0 16px;
        box-sizing: border-box;
      }
    }

    @media (max-width: 900px) {
      .how-it-works-steps {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 12px;
      }
      
      .how-step {
        padding: 12px;
      }
    }

    @media (max-width: 1250px) {
      /* Increase gallery height */
      .instagram-gallery {
        height: 800px;
        flex-direction: column;
        flex-wrap: nowrap;
        overflow-y: auto;
        padding: 20px 0;
        gap: 30px;
        align-items: center;
      }
      
      .instagram-img {
        width: 85%;
        height: 300px;
        margin: 0;
        object-fit: cover;
      }

      /* Reduce white border on shop now button */
      .shop-now-border {
        border-width: 1px;
      }

      /* Make categories 2 per row and narrower */
      .product-grid-section {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        height: auto;
        padding: 10px;
      }

      .product-card {
        width: 100%;
        height: auto;
        min-height: 200px;
        padding: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
      }

      .product-img {
        width: 85%;
        height: 140px;
        object-fit: cover;
        margin: 5px 0;
      }

      /* How it works section */
      .how-it-works-steps {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        padding: 0 10px;
        margin-bottom: 30px;
      }
      
      .how-step {
        padding: 10px;
      }
      
      .how-step-title {
        font-size: 24px;
      }
      
      .how-step-desc {
        font-size: 18px;
      }
      
      .how-step-circle {
        width: 48px;
        height: 48px;
        margin-bottom: 8px;
      }
      
      .how-step-number {
        font-size: 24px;
      }

      .how-it-works-section {
        padding-bottom: 40px;
      }
    }

    @media (max-width: 700px) {
      .how-it-works-steps {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(6, 1fr);
      }
    }
    /* Instagram Section */
    .instagram-section {
      width: 100%;
      max-width: 100vw;
      min-width: 0;
      height: auto;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 0;
      gap: var(--homepage-title-content-gap);
      overflow: hidden;
    }
    .instagram-header {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    .instagram-title {
      width: auto;
      max-width: none;
      height: auto;
      font-family: 'Amatica SC', cursive;
      font-weight: 700;
      font-size: 60px;
      color: #5D4037; /* שינוי מ-#775A47 ל-#5D4037 לניגודיות טובה יותר */
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0;
      white-space: nowrap;
      flex-shrink: 0;
    }
    .instagram-gallery {
      display: flex;
      flex-direction: row;
      align-items: center;
      justify-content: center;
      padding: 0;
      gap: 0;
      width: 100%;
      max-width: 1400px;
      height: auto;
      margin: 0 auto;
      box-sizing: border-box;
      overflow: hidden;
    }
    .instagram-img {
      width: 250px;
      height: 180px;
      margin: 0;
      background: #e0e0e0;
      border-radius: 8px;
      background-size: cover;
      background-position: center;
    }
    /* Instagram Fallback Styling */
    .instagram-fallback {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 60px;
      background: transparent;
      margin: 0;
    }
    .instagram-fallback-link {
      text-decoration: none;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 100%;
      transition: transform 0.3s ease;
    }
    .instagram-fallback-link:hover {
      transform: scale(1.05);
    }
    .instagram-fallback-text {
      font-family: 'Amatica SC', cursive;
      font-weight: 700;
      font-size: 36px;
      color: #8B6B47; /* שינוי לחום כהה שעומד בתנאי הנגישות */
      letter-spacing: 1px;
    }
    /* Mobile Shop Button */
    @media (max-width: 700px) {
      .shop-now-group {
        width: 180px;
        height: 50px;
      }
      
      .shop-now-bg {
        width: 180px;
        height: 50px;
      }
      
      .shop-now-border {
        width: 160px;
        height: 36px;
      }
      
      .shop-now-btn {
        width: 120px;
        height: 50px;
        font-size: 24px;
        line-height: 50px;
      }
    }

/* ===== Homepage mobile (phones) ===== */
@media (max-width: 768px) {
  :root {
    --homepage-section-title-size: clamp(30px, 8vw, 42px);
    --homepage-title-content-gap: 4px;
    --homepage-title-content-offset: 0px;
  }

  /* רקע קטגוריות / איך זה עובד — עד קצות המסך בלי שוליים לבנים */
  .body-center {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .product-grid-section {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-inline: calc(50% - 50vw) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 12px 8px !important;
    box-sizing: border-box !important;
  }

  .how-it-works-section {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-inline: calc(50% - 50vw) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  .how-it-works-steps {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .best-seller-title,
  .how-it-works-title,
  .instagram-title {
    padding: 12px 8px 10px !important;
    white-space: normal !important;
    text-align: center !important;
    max-width: 100% !important;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.15 !important;
  }

  .instagram-header {
    padding: 0 16px;
    width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
  }

  .shop-now-section {
    padding: 0 16px;
    height: 80px;
  }

  .product-grid-section {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    height: auto !important;
    gap: 10px !important;
  }

  .product-card {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 8px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .product-title {
    width: 100% !important;
    height: auto !important;
    font-size: 28px !important;
    line-height: 1.2 !important;
    padding: 4px 0 !important;
    flex-shrink: 0;
  }

  .product-img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    max-height: 145px;
    margin: 0 !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
  }

  .best-seller-section {
    height: auto !important;
    padding: 0 0 8px !important;
    margin-bottom: 28px !important;
    width: 100%;
    max-width: 100%;
    overflow: visible !important;
    gap: var(--homepage-title-content-gap) !important;
    box-sizing: border-box;
  }

  .best-seller-header {
    height: auto;
    min-height: 0;
    gap: 8px;
    margin-bottom: 0;
    padding: 0 16px;
    width: 100%;
    max-width: 100%;
    flex-wrap: nowrap;
    align-items: center;
    box-sizing: border-box;
    flex-shrink: 0;
  }

  .best-seller-line {
    display: block;
    flex: 1 1 0;
    width: auto !important;
    max-width: none;
    min-width: 12px;
    flex-shrink: 1;
    border-width: 1px !important;
  }

  .best-seller-title {
    width: auto !important;
    height: auto !important;
    flex: 0 0 auto;
    flex-shrink: 0;
    min-width: 0;
  }

  .how-it-works-title,
  .instagram-title {
    width: auto !important;
    height: auto !important;
    flex: 1 1 auto;
    flex-shrink: 1;
    min-width: 0;
  }

  .best-seller-scroll {
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
  }

  .best-seller-list {
    display: block !important;
    direction: rtl !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 0 0 8px !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    white-space: nowrap !important;
    font-size: 0;
    scroll-snap-type: none !important;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .best-seller-list::-webkit-scrollbar {
    display: none;
  }

  .best-seller-edge {
    display: none !important;
  }

  .best-seller-card {
    display: inline-block !important;
    vertical-align: top;
    direction: rtl;
    width: 158px !important;
    min-width: 158px !important;
    max-width: 158px !important;
    height: auto !important;
    min-height: 248px !important;
    padding: 4px 6px 12px !important;
    margin: 0 12px 0 0 !important;
    white-space: normal !important;
    font-size: 1rem;
    box-sizing: border-box;
    align-items: center !important;
    overflow: hidden !important;
  }

  .best-seller-card:first-of-type {
    margin-right: 0 !important;
  }

  .best-seller-card-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 2px;
  }

  .best-seller-img,
  .best-seller-card--matka .best-seller-img {
    width: 100% !important;
    max-width: 100% !important;
    height: 172px !important;
    margin: 0 !important;
    padding: 6px !important;
    box-sizing: border-box !important;
    border-radius: 12px !important;
    background-color: transparent !important;
    background-origin: content-box !important;
    background-clip: content-box !important;
    background-size: contain !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  .best-seller-model {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    font-size: 18px !important;
    line-height: 1.15 !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center !important;
    display: block !important;
  }

  .best-seller-line2 {
    width: 14px !important;
    margin: 2px auto !important;
    flex-shrink: 0;
  }

  .best-seller-price {
    width: auto !important;
    font-size: 22px !important;
    margin: 0 !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
  }

  .best-seller-overlay-btns {
    gap: 5px !important;
    bottom: 15px !important;
  }

  .best-seller-overlay-qty-group {
    top: 20% !important;
  }

  .best-seller-btn {
    font-size: 16px !important;
    padding: 8px !important;
  }

  .best-seller-card:active .best-seller-overlay,
  .best-seller-card:focus-within .best-seller-overlay {
    opacity: 1;
    pointer-events: auto;
  }

  .how-it-works-section {
    padding-top: 0;
    padding-bottom: 24px;
  }

  .how-it-works-steps {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
    gap: 10px;
    padding-bottom: 16px;
  }

  .how-step {
    padding: 8px 10px 10px !important;
    min-height: 0 !important;
  }

  .how-step-circle {
    width: 38px !important;
    height: 38px !important;
    margin-bottom: 5px !important;
  }

  .how-step-title {
    font-size: 22px;
    margin-bottom: 5px !important;
  }

  .how-step-desc {
    font-size: 16px;
  }

  .instagram-section {
    padding: 0 0 4px;
  }

  .instagram-gallery {
    flex-direction: column !important;
    height: auto !important;
    gap: 8px;
    padding: 0 12px 0;
    margin-bottom: 0 !important;
    overflow: visible !important;
  }

  .instagram-gallery [class*="elfsight-app"] {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .instagram-img {
    width: 100% !important;
    max-width: 340px;
    height: 200px !important;
    margin: 0 auto !important;
  }

  .instagram-fallback-text {
    font-size: 28px;
  }
}

@media (max-width: 400px) {
  :root {
    --homepage-section-title-size: clamp(26px, 7vw, 34px);
  }

  .product-title {
    font-size: 24px !important;
  }

  .best-seller-header {
    gap: 6px;
    padding: 0 12px;
  }

  .best-seller-line {
    min-width: 8px;
  }
}
