/* استایل مخصوص بررسی VPN - بهینه شده */
.beban-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0 0 0 / 11%);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.beban-modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 24px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 2px 20px rgb(0 0 0 / 7%);
}

.beban-modal-content h4 {
    font-weight: 600;
    margin: 8px;
    font-size: 20px;
}

.beban-modal-content p {
    margin: 0 0 20px;
    color: #888;
    font-size: 14px;
    border-bottom: 1px solid rgba(32, 34, 38, 0.08);
    padding-bottom: 16px;
}

.beban-modal-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.beban-modal-buttons .button {
    padding: 12.5px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    position: relative;
    background: #ef4056;
    color: #fff;
}

@media (max-width: 480px) {
    .beban-modal-content {
        padding: 15px;
        max-width: 300px;
    }
    
    .beban-modal-content p {
        font-size: 14px;
    }
    
    .beban-modal-buttons .button {
        padding: 8px 15px;
        font-size: 12px;
    }
}

/* استایل باکس ویژگی‌های محصول */
.custom-feature-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.feature-box {
    background-color: #f2f2f2;
    border-radius: 10px;
    padding: 12px 16px;
    text-align: right;
    font-weight: 500;
    flex: 1 1 30%;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

/* استایل محصولات مکمل */
.custom-cross-sells-wrapper {
    margin-top: 20px;
}

.cross-sell-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.cross-sell-box input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #2e90fa;
}



/* ==================== 🏷️ استایل ویژگی‌های محصول ==================== */

.custom-feature-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.feature-box {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 12px 15px;
    text-align: right;
    font-size: 14px;
    flex: 1 1 calc(33% - 10px);
    min-width: 200px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.feature-box:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.feature-box strong {
    color: #495057;
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
}

.feature-box span {
    color: #6c757d;
}

.no-features {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    color: #856404;
    margin: 20px 0;
}

/* ==================== 📦 استایل محصولات مکمل ==================== */

.custom-cross-sells-wrapper {
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.custom-cross-sells-wrapper h4 {
    text-align: right;
    margin-bottom: 20px;
    color: #495057;
    font-size: 18px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

.cross-sell-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.cross-sell-box:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.cross-sell-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.cross-sell-info input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #28a745;
}

.cross-sell-image {
    display: block;
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.cross-sell-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cross-sell-details {
    flex: 1;
    text-align: right;
}

.cross-sell-title {
    color: #495057;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.cross-sell-title:hover {
    color: #007bff;
}

.cross-sell-price {
    color: #28a745;
    font-size: 14px;
    font-weight: 600;
}

.cross-sell-link {
    color: #007bff;
    text-decoration: none;
    font-size: 13px;
    padding: 8px 15px;
    border: 1px solid #007bff;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cross-sell-link:hover {
    background: #007bff;
    color: white;
}

.no-cross-sells {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    color: #0c5460;
    margin: 20px 0;
}

/* ==================== 📱 رسپانسیو برای موبایل ==================== */

@media (max-width: 768px) {
    .feature-box {
        flex: 1 1 100%;
    }
    
    .cross-sell-box {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .cross-sell-info {
        flex-direction: column;
        text-align: center;
    }
    
    .cross-sell-details {
        text-align: center;
    }
    
    .cross-sell-link {
        align-self: center;
    }
}
