/* =========================================
   إعدادات عامة
========================================= */
.fruit-specs-wrapper {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    color: #333;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}
.fruit-specs-wrapper * {
    box-sizing: border-box;
}
.specs-section-title {
    text-align: center;
    color: #1e5a32;
    margin-bottom: 40px;
    font-size: 34px;
    font-weight: 800;
    position: relative;
    padding-bottom: 15px;
}
.specs-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #27ae60, #e67e22);
    border-radius: 2px;
}

/* =========================================
   1. الكروت
========================================= */
.packaging-cards-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    width: 100%;
}
.pack-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.03);
    border-radius: 16px;
    padding: 40px 25px;
    text-align: center;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.03);
    flex: 1;
    min-width: 260px;
    max-width: 320px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.pack-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 20px 40px rgba(39, 174, 96, 0.08);
    border-color: rgba(39, 174, 96, 0.2);
}
.pack-card i,
.pack-card svg {
    font-size: 55px;
    color: #e67e22;
    fill: #e67e22;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}
.pack-card:hover i,
.pack-card:hover svg {
    transform: scale(1.15) rotate(-5deg);
    color: #d35400;
}
.pack-card h4 {
    margin: 0 0 10px;
    font-size: 26px;
    color: #111;
    font-weight: 800;
}
.pack-card p.main-desc {
    margin: 0;
    font-size: 16px;
    color: #444;
    font-weight: 600;
}
.pack-card p.sub-desc {
    margin: 8px 0 0;
    font-size: 13px;
    color: #888;
    font-weight: 500;
    display: inline-block;
    background: #f8f9fa;
    padding: 4px 12px;
    border-radius: 20px;
}

/* =========================================
   2. ملاحظات الشحن
========================================= */
.shipping-notes-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    background: #fdfdfd;
    border: 1px solid #f0f0f0;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 80px;
    width: 100%;
}
.shipping-note-item {
    display: flex;
    align-items: center;
    font-size: 14.5px;
    font-weight: 600;
    color: #444;
}
.shipping-note-item i,
.shipping-note-item svg {
    margin-right: 10px;
    color: #e67e22;
    font-size: 18px;
}

/* =========================================
   3. المواصفات
========================================= */
.quality-highlights-wrapper {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(135deg, #f4f9f4 0%, #ffffff 100%);
    box-shadow: inset 0px 0px 20px rgba(0,0,0,0.01);
    width: 100%;
    margin-bottom: 60px;
}
.bg-decorative-svg {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 250px;
    height: 250px;
    opacity: 0.04;
    z-index: -1;
    transform: rotate(15deg);
    pointer-events: none;
}
.bg-decorative-svg.bottom-left {
    top: auto;
    bottom: -10%;
    right: auto;
    left: -5%;
    transform: rotate(-120deg) scale(0.8);
}
.quality-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 50px;
    width: 100%;
}
.highlight-item {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 14px;
    text-align: center;
    border-top: 4px solid #27ae60;
    box-shadow: 0 5px 15px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.highlight-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.1);
}
.highlight-item i,
.highlight-item svg {
    font-size: 42px;
    color: #27ae60;
    margin-bottom: 18px;
}
.highlight-item h5 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
}
.highlight-item p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* =========================================
   4. المقاسات
========================================= */
.size-grading-box {
    background: #ffffff;
    border: 2px dashed #27ae60;
    border-radius: 20px;
    padding: 40px 30px;
    margin-bottom: 80px;
    text-align: center;
    width: 100%;
}
.size-grading-box h3 {
    color: #1e5a32;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 25px;
}
.grading-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}
.grading-numbers span {
    background: #f4f9f4;
    color: #27ae60;
    border: 1px solid #e1eee2;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: default;
}
.grading-numbers span:hover {
    background: #27ae60;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.2);
}

/* =========================================
   5. التخصيص
========================================= */
.customization-section-boxed {
    background: linear-gradient(to right, #ffffff, #fcfcfc);
    border: 1px solid #f0f0f0;
    border-radius: 24px;
    padding: 60px 50px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}
.customization-content {
    flex: 0 0 55%;
    max-width: 55%;
}
.customization-image {
    flex: 0 0 40%;
    max-width: 40%;
    text-align: center;
    position: relative;
}
.customization-content h2 {
    color: #1e5a32;
    margin-bottom: 15px;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.3;
}
.customization-badge {
    display: inline-block;
    background: #fff4eb;
    color: #e67e22;
    border: 1px solid #ffe1c7;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 30px;
}
.custom-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.custom-list li {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #f2f2f2;
    padding: 18px 20px;
    border-radius: 12px;
    border-left: 4px solid #27ae60;
    width: 100%;
    transition: transform 0.3s ease;
}
.custom-list li:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 20px rgba(39, 174, 96, 0.08);
    border-color: #eaf5eb;
}
.custom-list li .check-icon {
    background: #27ae60;
    color: #fff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-right: 18px;
    flex-shrink: 0;
}
.custom-list li .text-wrap {
    display: flex;
    flex-direction: column;
}
.custom-list li .main-text {
    font-size: 17px;
    font-weight: 700;
    color: #222;
}
.custom-list li .sub-text {
    font-size: 13px;
    color: #777;
    font-weight: 500;
    margin-top: 4px;
}
.customization-image img {
    position: relative;
    z-index: 1;
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* =========================================
   6. الـ Elementor Color Overrides (مخصصة فقط)
   — استخدام selectors محددة بدل !important عام
========================================= */
.elementor-widget-fruit_specs .specs-section-title,
.elementor-widget-fruit_specs .customization-content h2,
.elementor-widget-fruit_specs .size-grading-box h3 {
    /* يتم تجاوزها عبر Elementor Color Controls */
}
.elementor-widget-fruit_specs .pack-card i,
.elementor-widget-fruit_specs .pack-card svg,
.elementor-widget-fruit_specs .shipping-note-item i,
.elementor-widget-fruit_specs .shipping-note-item svg {
    /* يتم تجاوزها عبر Elementor Color Controls */
}

/* =========================================
   7. تجاوب الموبايل والتابلت
========================================= */
@media (max-width: 1024px) {
    .quality-highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .fruit-specs-wrapper {
        padding: 0 10px;
    }
    .packaging-cards-grid {
        flex-direction: column;
        margin-bottom: 30px;
    }
    .pack-card {
        min-width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        padding: 30px 20px;
        margin: 0;
    }
    .shipping-notes-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 15px;
        margin-bottom: 50px;
    }
    .quality-highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 25px 15px;
    }
    .size-grading-box {
        padding: 25px 15px;
        margin-bottom: 50px;
    }
    .customization-section-boxed {
        flex-wrap: wrap;
        flex-direction: column-reverse;
        padding: 30px 15px;
    }
    .customization-content,
    .customization-image {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }
    .customization-content h2 {
        font-size: 24px;
        text-align: center;
    }
    .customization-badge {
        display: table;
        margin: 0 auto 25px auto;
    }
}

@media (max-width: 480px) {
    .specs-section-title {
        font-size: 24px;
    }
    .quality-highlights-grid {
        grid-template-columns: 1fr;
    }
    .grading-numbers span {
        padding: 8px 14px;
        font-size: 14px;
    }
}
