.safa-related-sidebar-col {
    padding-right: 20px;
}

.safa-related-sidebar {
    width: 100%;
    background: #fff;
    border-radius: 14px;
    padding: 18px 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8e8e8;
}

.safa-related-sidebar__title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 14px;
    color: #111;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.safa-related-sidebar__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.safa-related-sidebar__item {
    margin-bottom: 10px;
}

.safa-related-sidebar__link {
    display: block;
    color: #222;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.6;
}

.safa-related-sidebar__link:hover {
    color: #0d6efd;
}

@media (max-width: 991px) {
    .safa-related-sidebar-col {
        display: none !important;
    }

    .elementor-column.elementor-col-75 {
        width: 100% !important;
    }
}


.safa-hex-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: #fff;
    border: 1px solid #e8e8ef;
    border-radius: 14px;
    overflow: hidden;
}

.safa-hex-feature {
    position: relative;
    padding: 28px 18px;
    text-align: center;
    background: #fff;
    min-height: 180px;
}

.safa-hex-feature:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 20%;
    right: 0;
    width: 1px;
    height: 60%;
    background: #e6e7ee;
}

.safa-hex-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 14px;
    color: #1f3b7a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.safa-hex-icon svg {
    width: 100%;
    height: 100%;
}

.safa-hex-label {
    font-size: 16px;
    font-weight: 700;
    color: #1f2a5a;
    margin-bottom: 8px;
    line-height: 1.4;
}

.safa-hex-value {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .safa-hex-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .safa-hex-feature:nth-child(2n)::after {
        display: none;
    }
}

@media (max-width: 767px) {
    .safa-hex-features {
        grid-template-columns: 1fr;
    }

    .safa-hex-feature::after {
        display: none !important;
    }
}


/* =========================
   1) Features Hex Grid
   ========================= */
.safa-features-container {
    width: 100%;
    margin: 24px 0 0;
}

.safa-features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: #fff;
    border: 1px solid #e9eef5;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.safa-feature-hex-card {
    position: relative;
    padding: 28px 16px 24px;
    text-align: center;
    background: #fff;
    transition: all 0.25s ease;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.safa-feature-hex-card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 22%;
    right: 0;
    width: 1px;
    height: 56%;
    background: #e6ebf2;
}

.safa-feature-hex-card:hover {
    background: #fbfdff;
}

.safa-hex-icon-wrapper {
    width: 64px;
    height: 72px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #163a70;
    transition: transform 0.25s ease;
}

.safa-feature-hex-card:hover .safa-hex-icon-wrapper {
    transform: translateY(-3px);
}

.safa-hex-icon-wrapper svg {
    width: 100%;
    height: 100%;
    display: block;
}

.safa-hex-title {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    color: #0f2747;
}

.safa-hex-desc {
    display: block;
    font-size: 14px;
    line-height: 1.8;
    color: #6b7a90;
    font-weight: 500;
}

/* =========================
   2) Sidebar Quote Card
   ========================= */
.safa-sidebar-quote-card {
    margin-top: 24px;
    background: #fff;
    border: 1px solid #e5ebf3;
    border-radius: 18px;
    padding: 26px 22px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    position: relative;
    overflow: hidden;
}

.safa-sidebar-quote-card::before {
    content: "";
    position: absolute;
    top: -18px;
    right: -18px;
    width: 92px;
    height: 92px;
    opacity: 0.5;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 60 68' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 3.5 L56.5 18.5 V49.5 L30 64.5 L3.5 49.5 V18.5 Z' stroke='%231f3b7a' stroke-opacity='0.16' stroke-width='1.5' fill='none'/%3E%3C/svg%3E") no-repeat center/contain;
    pointer-events: none;
}

.safa-quote-card-header h3 {
    margin: 0 0 10px;
    font-size: 21px;
    line-height: 1.35;
    font-weight: 800;
    color: #0f1f38;
}

.safa-quote-card-header p {
    margin: 0 0 22px;
    font-size: 14px;
    line-height: 1.8;
    color: #5f728c;
}

.safa-quote-button {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 18px;
    background: #2d7d3a;
    color: #fff !important;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.safa-quote-button:hover {
    background: #23652e;
    color: #fff !important;
    transform: translateY(-1px);
}

/* =========================
   3) Placement polish
   ========================= */
.safa-related-sidebar {
    width: 100%;
}

.safa-related-sidebar__inner {
    display: flex;
    flex-direction: column;
}

.safa-related-sidebar__title {
    margin-bottom: 16px;
}

.safa-related-sidebar__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* اگر کارت داخل ستون مشابه‌ها رفت، فاصله مناسب بگیرد */
.safa-related-sidebar__inner > .safa-sidebar-quote-card {
    margin-top: 28px;
}

/* اگر ویژگی‌ها زیر توضیح کوتاه رفتند */
.elementor-widget-wl-single-product-short-description + .safa-features-container {
    margin-top: 22px;
}

/* =========================
   4) Responsive
   ========================= */
@media (max-width: 1024px) {
    .safa-features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .safa-feature-hex-card:nth-child(2n)::after {
        display: none;
    }

    .safa-feature-hex-card {
        border-bottom: 1px solid #eef2f7;
    }

    .safa-feature-hex-card:nth-last-child(-n+2) {
        border-bottom: none;
    }
}

@media (max-width: 767px) {
    .safa-features-grid {
        grid-template-columns: 1fr;
    }

    .safa-feature-hex-card {
        min-height: auto;
        padding: 24px 14px;
        border-bottom: 1px solid #eef2f7;
    }

    .safa-feature-hex-card:last-child {
        border-bottom: none;
    }


    
}

    
    
    
    
    