/* ── 17. Footer Responsive ── */
.main-footer {
    background: linear-gradient(to bottom, #ffffff, #f0f0f0);
    padding: 28px 20px 16px;
    border-top: 1px solid #e0e0e0; /* צבע ויכולת התאמה לפי הצורך */
    font-family: system-ui, -apple-system, sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 24px;
}

.brand-section {
    flex: 0 1 200px;
}

.company-logo {
    max-width: 180px;
    height: auto;
}

/* ניווט */
.main-nav {
    flex: 2;
}

.nav-columns {
    display: flex;
    gap: clamp(12px, 3vw, 32px);
}

.nav-column {
    flex: 1;
}

.nav-column h3 {
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 600;
}

.nav-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-column ul li {
    margin-bottom: 3px;
}

.nav-column ul li a {
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-column ul li a:hover {
    color: #007bff;
}

/* רשתות חברתיות ותשלומים */
.social-payments {
    flex: 1;
}

.social-payments h3 {
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

.social-icon {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.social-icon img {
    width: 40px;  /* או ערך אחר שתבחר */
    height: 40px; /* או ערך אחר שתבחר */
}

.social-icon a {
    transition: transform 0.3s;
}

.social-icon a:hover {
    transform: translateY(-3px);
}

.payment-methods {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.payment-methods img {
    max-width: 40px; /* כוונן בהתאם לגובה הרצוי */
    max-height: 40px; /* כוונן בהתאם לגובה הרצוי */
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.payment-methods img:hover {
    filter: grayscale(0%);
}

/* מילות מפתח SEO */
.seo-keywords {
    max-width: 1200px;
    margin: 1px auto;
    padding: 10px 0;
    border-top: 1px solid #dee2e6;
}

.seo-keywords nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.seo-keywords a {
    color: #6c757d;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
    padding: 5px 10px;
}

.seo-keywords a:hover {
    color: #007bff;
}

/* בלוק תחתון */
.footer-bottom {
    text-align: center;
    margin-top: 5px;
    padding-top: 10px;
    border-top: 1px solid #dee2e6;
    color: #495057;
    font-size: 14px;
}


@media (max-width: 768px) {
    .nav-columns {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* 3 טורים */
        gap: 1px;
        width: 100%;
    }

    .nav-column {
        text-align: right; /* יישור מרכזי עבור הכותרות */
    }

    .nav-column ul {
        text-align: right; /* יישור הטקסט לצד ימין */
    }

    .social-payments {
        width: 100%;
        text-align: center;
    }

    .social-icon, .payment-methods {
        display: flex;
        justify-content: flex-start; /* יישור האיקונים לצד שמאל */
        gap: 5px; /* רווח בין האיקונים */
    }

    .payment-methods img,
    .social-icon img {
        width: 25px; /* כוונן בהתאם לגודל הרצוי */
        height: 25px; /* כוונן בהתאם לגודל הרצוי */
    }

    /* שיפור סידור מילות מפתח במובייל */
    .seo-keywords {
        margin: 20px 0;
        padding: 15px 0;
    }

    .seo-keywords nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        text-align: center;
    }

    .seo-keywords a {
        display: block;
        padding: 8px;
        background: #f8f9fa;
        border-radius: 4px;
        margin: 0;
        font-size: 12px;
        width: 100%;
        box-sizing: border-box;
    }
}

/* Desktop: categories one under another */
@media (min-width: 769px){
  #order-section .form-columns{
    grid-template-columns: 1fr !important;
  }
}

/* Desktop: keep accordions collapsed like mobile */
@media (min-width: 769px){
  #order-section .mobile-accordion{
    padding: 0 !important;
    margin: 0 0 16px 0 !important;
    overflow: hidden !important;
  }
  #order-section .mobile-accordion:last-of-type{
    margin-bottom: 0 !important;
  }
  #order-section .mobile-accordion .accordion-header{
    cursor: pointer !important;
    padding: 16px !important;
    margin: 0 !important;
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%) !important;
    color: #fff !important;
    border-radius: 10px !important;
    border: 0 !important;
  }
  #order-section .coupon-section .accordion-header{
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%) !important;
  }
  #order-section .shipping-fieldset .accordion-header{
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%) !important;
  }
  #order-section .accordion-icon{
    display: block !important;
  }
  #order-section .mobile-accordion .accordion-content{
    max-height: 0 !important;
    overflow: hidden !important;
    padding: 0 16px !important;
    background: #fafafa !important;
  }
  #order-section .mobile-accordion.active .accordion-content{
    max-height: 3000px !important;
    padding: 16px !important;
    padding-top: 20px !important;
  }
}

/* Desktop: equal spacing between quote categories */
@media (min-width: 769px){
  #order-section .form-columns{
    gap: 16px !important;
    row-gap: 16px !important;
  }
}

/* רווחים זהים בין קטגוריות - גם במובייל וגם בדסקטופ */
#order-section fieldset,
#order-section .modern-fieldset,
#order-section .mobile-accordion {
    margin-bottom: 15px !important;
    margin-top: 0 !important;
}

#order-section .form-columns > fieldset:first-child,
#order-section .form-columns > .modern-fieldset:first-child {
    margin-top: 0 !important;
}

#order-section fieldset:last-of-type,
#order-section .modern-fieldset:last-of-type {
    margin-bottom: 15px !important;
}

#order-section .form-group {
    margin-bottom: 16px !important;
    margin-top: 0 !important;
}

#order-section .btn-wrapper {
    margin-top: 25px !important;
    margin-bottom: 0 !important;
}

/* עיצוב למבנה דו-עמודות בדסקטופ בלבד - תמונה */
@media (min-width: 769px) {
    #order-section .form-container-wrapper {
        display: flex;
        gap: 40px;
        align-items: flex-start;
    }

    #order-section .form-content {
        flex: 1;
    }

    #order-section .form-image-container {
        flex: 0 0 420px;
        position: sticky;
        top: 120px;
        align-self: flex-start;
    }

    #order-section .form-image-container img {
        width: 100%;
        height: auto;
        min-height: 700px;
        max-height: 900px;
        object-fit: cover;
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        background-color: #fafafa;
    }
}

/* במובייל - התמונה מוסתרת אבל הרווחים נשארים זהים */
@media (max-width: 768px) {
    #order-section .form-image-container {
        display: none !important;
    }
}
/* ── Global Section Spacing Override ── */
section.container,
div.container {
    margin-bottom: 0;
}
.content-grid {
    gap: 1rem;
    padding: 1rem 0;
}
.content-box {
    padding: 1rem;
}
@media (min-width: 769px) {
    .content-grid {
        gap: 1.25rem;
        padding: 1.25rem 0;
    }
    .content-box {
        padding: 1.5rem;
    }
}


/* ╔═══════════════════════════════════════════════════════════╗
   ║  PRIME IMPORTS v7 — Final Responsive Fix                 ║
   ╚═══════════════════════════════════════════════════════════╝ */

/* ── Global ── */
html, body { overflow-x: hidden !important; max-width: 100% !important; }
*, *::before, *::after { box-sizing: border-box !important; }
img, video, iframe { max-width: 100% !important; }